Install the relevant parts of upstream's README

else you don't get much documentation...
This commit is contained in:
jca 2016-04-27 17:06:37 +00:00
parent d53b5a74d3
commit be713a085a
2 changed files with 10 additions and 3 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.14 2016/03/20 16:12:25 naddy Exp $
# $OpenBSD: Makefile,v 1.15 2016/04/27 17:06:37 jca Exp $
COMMENT= python interface to adns
V= 1.2.1
DISTNAME= adns-python-$V
PKGNAME= py-adns-$V
REVISION= 5
REVISION= 6
HOMEPAGE= https://adns-python.googlecode.com/
@ -26,4 +26,9 @@ NO_TEST= Yes
pre-configure:
perl -pi -e 's,!!PREFIX!!,${PREFIX},g' ${WRKSRC}/setup.py
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}adns
sed -n '/^Usage$$/,$$p' ${WRKSRC}/README > \
${PREFIX}/share/doc/${MODPY_PY_PREFIX}adns/README
.include <bsd.port.mk>

View File

@ -1,7 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/01 13:50:36 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2016/04/27 17:06:37 jca Exp $
lib/python${MODPY_VERSION}/site-packages/ADNS.py
lib/python${MODPY_VERSION}/site-packages/ADNS.pyc
lib/python${MODPY_VERSION}/site-packages/DNSBL.py
lib/python${MODPY_VERSION}/site-packages/DNSBL.pyc
lib/python${MODPY_VERSION}/site-packages/adns.so
lib/python${MODPY_VERSION}/site-packages/adns_python-1.2.1-py${MODPY_VERSION}.egg-info
share/doc/${MODPY_PY_PREFIX}adns/
share/doc/${MODPY_PY_PREFIX}adns/README