diff options
author | bapt <bapt@FreeBSD.org> | 2013-11-19 15:42:41 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-11-19 15:42:41 +0800 |
commit | de9200bc01cd9ef17feb7767e7d37d75fab80f84 (patch) | |
tree | bc51861eca74afe2aa615c07a66f7c51f3b3f8cc /net/py-pcapy | |
parent | f08079d3dd06953166a1808bde1ce483da32c485 (diff) | |
download | freebsd-ports-gnome-de9200bc01cd9ef17feb7767e7d37d75fab80f84.tar.gz freebsd-ports-gnome-de9200bc01cd9ef17feb7767e7d37d75fab80f84.tar.zst freebsd-ports-gnome-de9200bc01cd9ef17feb7767e7d37d75fab80f84.zip |
Convert from USE_DOS2UNIX to USES=dos2unix
While here:
- support stage,
- use bsdtar to extract when supported.
- Cleanup
Diffstat (limited to 'net/py-pcapy')
-rw-r--r-- | net/py-pcapy/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/net/py-pcapy/Makefile b/net/py-pcapy/Makefile index 82e79a92fbc5..53bf7db88460 100644 --- a/net/py-pcapy/Makefile +++ b/net/py-pcapy/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept FETCH_BEFORE_ARGS=-o ${DISTFILES} -USE_DOS2UNIX= yes +USES= dos2unix USE_PYTHON= yes USE_PYDISTUTILS=yes @@ -25,13 +25,9 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcapy.so PORTDOCS= README pcapy.html -NO_STAGE= yes -.include <bsd.port.options.mk> post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |