aboutsummaryrefslogtreecommitdiff
path: root/archivers/makeself
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/makeself
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/makeself')
-rw-r--r--archivers/makeself/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile
index 09327daededf..6984f60706f5 100644
--- a/archivers/makeself/Makefile
+++ b/archivers/makeself/Makefile
@@ -26,8 +26,6 @@ PORTDOCS= README
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e \
's|#!/bin/sh|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/makeself.sh
@@ -38,9 +36,7 @@ do-install:
@${LN} -sf ${i}.sh ${STAGEDIR}${PREFIX}/bin/${i}
.endfor
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>