hi there,

i was working on a port for py-clint and i see
that one is fresh in ports.  however the package
erronously installs its readme files in /usr/local/
here is my port and also i can take maintainership


diff -ur /usr/ports/devel/py-clint/Makefile mystuff/devel/py-clint/Makefile
--- /usr/ports/devel/py-clint/Makefile  Mon Jan 21 09:29:50 2013
+++ mystuff/devel/py-clint/Makefile     Thu Feb  7 14:43:17 2013
@@ -1,22 +1,33 @@
-# $OpenBSD: Makefile,v 1.1.1.1 2013/01/21 14:29:50 jasper Exp $
+# $OpenBSD$
 
-COMMENT=               Command-Line Application Tools
+COMMENT =      command line interface tools for Python
 
-MODPY_EGG_VERSION=     0.3.1
-DISTNAME=              clint-${MODPY_EGG_VERSION}
-PKGNAME=               py-${DISTNAME}
-CATEGORIES=            devel
+MODPY_EGG_VERSION =    0.3.1
+DISTNAME =             clint-${MODPY_EGG_VERSION}
+PKGNAME =              py-${DISTNAME}
+CATEGORIES =           devel
 
-# BSD
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=    Yes
-PERMIT_DISTFILES_CDROM= Yes
-PERMIT_DISTFILES_FTP=  Yes
+HOMEPAGE =     https://github.com/kennethreitz/clint
+MAINTAINER =   frantisek holop <[email protected]>
 
-MASTER_SITES=          ${MASTER_SITE_PYPI:=c/clint/}
+# ISC, BSD
+PERMIT_PACKAGE_CDROM =         Yes
+PERMIT_PACKAGE_FTP =           Yes
+PERMIT_DISTFILES_CDROM =       Yes
+PERMIT_DISTFILES_FTP =         Yes
 
-MODULES=               lang/python
+MASTER_SITES = ${MASTER_SITE_PYPI:=c/clint/}
 
-NO_REGRESS=            Yes
+MODULES =      lang/python
+MODPY_SETUPTOOLS = Yes
+
+# --single-version-externally-managed option used by MODPY doesn't exist
+MODPY_DISTUTILS_INSTALL = install --prefix=${LOCALBASE} --root=${DESTDIR}
+
+NO_REGRESS =   Yes
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clint
+       ${INSTALL_DATA} ${WRKSRC}/README.rst ${PREFIX}/share/doc/clint
 
 .include <bsd.port.mk>
diff -ur /usr/ports/devel/py-clint/pkg/PLIST mystuff/devel/py-clint/pkg/PLIST
--- /usr/ports/devel/py-clint/pkg/PLIST Mon Jan 21 09:29:50 2013
+++ mystuff/devel/py-clint/pkg/PLIST    Thu Feb  7 14:40:22 2013
@@ -1,6 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.1.1.1 2013/01/21 14:29:50 jasper Exp $
-HISTORY.rst
-README.rst
+@comment $OpenBSD$
 lib/python${MODPY_VERSION}/site-packages/clint/
 
lib/python${MODPY_VERSION}/site-packages/clint-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
 lib/python${MODPY_VERSION}/site-packages/clint/__init__.py
@@ -48,3 +46,5 @@
 lib/python${MODPY_VERSION}/site-packages/clint/textui/progress.pyc
 lib/python${MODPY_VERSION}/site-packages/clint/utils.py
 lib/python${MODPY_VERSION}/site-packages/clint/utils.pyc
+share/doc/clint/
+share/doc/clint/README.rst


-f
-- 
excuse me if i sound bitter...  i taste that way too...

Reply via email to