aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/szip
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-12 00:21:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-12 00:21:57 +0800
commit30f15e691b42e5c5335c4db8d0822e914163bb2c (patch)
tree32ce57b8e1f3b8346010477e1769e3a8d394bb39 /archivers/szip
parent77e955a24ffadec7244adbe0ca471c4b4dcdcac5 (diff)
downloadfreebsd-ports-gnome-30f15e691b42e5c5335c4db8d0822e914163bb2c.tar.gz
freebsd-ports-gnome-30f15e691b42e5c5335c4db8d0822e914163bb2c.tar.zst
freebsd-ports-gnome-30f15e691b42e5c5335c4db8d0822e914163bb2c.zip
- Switch to options helpers
Diffstat (limited to 'archivers/szip')
-rw-r--r--archivers/szip/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/archivers/szip/Makefile b/archivers/szip/Makefile
index 2d9502946f24..a6d01ab1d942 100644
--- a/archivers/szip/Makefile
+++ b/archivers/szip/Makefile
@@ -12,16 +12,15 @@ DISTNAME= sz${PORTVERSION:S/.//}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast compression utility
-OPTIONS_DEFINE= DOCS
-
USES= gmake
-
NO_WRKSUBDIR= yes
MAKEFILE= makefile
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \
-e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
@@ -29,6 +28,8 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}