aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/makeself
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 03:06:07 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 03:06:07 +0800
commit5c58cc66c5083e97c21a8e420f3306c57e8f2497 (patch)
treee3772ed0921ca0d8dc861c4b7c1dd440273bc41e /archivers/makeself
parent13309b2127b4e76e6026d002c81d2eb948f73fb5 (diff)
downloadfreebsd-ports-gnome-5c58cc66c5083e97c21a8e420f3306c57e8f2497.tar.gz
freebsd-ports-gnome-5c58cc66c5083e97c21a8e420f3306c57e8f2497.tar.zst
freebsd-ports-gnome-5c58cc66c5083e97c21a8e420f3306c57e8f2497.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)
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>