aboutsummaryrefslogtreecommitdiff
path: root/archivers/gzip
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 19:06:07 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 19:06:07 +0000
commit41fcfb64f91a016dd7a83d99d115b6efcb10a4f5 (patch)
treee3772ed0921ca0d8dc861c4b7c1dd440273bc41e /archivers/gzip
parent12c49b0345676cbf2d18b0c8cb021c54fc454847 (diff)
downloadports-41fcfb64f91a016dd7a83d99d115b6efcb10a4f5.tar.gz
ports-41fcfb64f91a016dd7a83d99d115b6efcb10a4f5.zip
Reduce unnecessary bsd.port.options.mk inclusions by using OPTIONS helpers.
For liborange, reverse the logic, as I'm pretty sure the OPTIONS were being used to disable the selected options. Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=360446
Diffstat (limited to 'archivers/gzip')
-rw-r--r--archivers/gzip/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile
index d73e46484187..2b8c88b8bd1b 100644
--- a/archivers/gzip/Makefile
+++ b/archivers/gzip/Makefile
@@ -21,18 +21,12 @@ OPTIONS_DEFINE= RSYNCABLE DOCS
OPTIONS_DEFAULT= RSYNCABLE
RSYNCABLE_DESC= Include --rsyncable patch
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MRSYNCABLE}
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-gzip-rsyncable.diff
-.endif
+RSYNCABLE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-gzip-rsyncable.diff
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>