aboutsummaryrefslogtreecommitdiff
path: root/security/smurflog
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 12:31:58 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 12:31:58 +0000
commit4c7dfaa6e2a6bec5bd2cbf4ecef90dbf636509eb (patch)
tree766b40d9cb4b5fb4a9e92cc7929c3e1ae61c220c /security/smurflog
parent654a1a73251154bfbc7059d037df5f2689110782 (diff)
downloadports-4c7dfaa6e2a6bec5bd2cbf4ecef90dbf636509eb.tar.gz
ports-4c7dfaa6e2a6bec5bd2cbf4ecef90dbf636509eb.zip
Notes
Diffstat (limited to 'security/smurflog')
-rw-r--r--security/smurflog/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/security/smurflog/Makefile b/security/smurflog/Makefile
index c9ff608d2f47..62559357931f 100644
--- a/security/smurflog/Makefile
+++ b/security/smurflog/Makefile
@@ -16,7 +16,8 @@ GNU_CONFIGURE= yes
PORTDOCS= README
PLIST_FILES= sbin/smurflog
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure
@@ -24,10 +25,8 @@ post-patch:
'/strip/d' ${WRKSRC}/Makefile.in
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} smurflog ${PREFIX}/sbin)
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR})
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/smurflog ${STAGEDIR}${PREFIX}/sbin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>