aboutsummaryrefslogtreecommitdiffstats
path: root/security/fakebo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/fakebo/Makefile')
-rw-r--r--security/fakebo/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/security/fakebo/Makefile b/security/fakebo/Makefile
index 121d5d00c4ee..caa107dd8f22 100644
--- a/security/fakebo/Makefile
+++ b/security/fakebo/Makefile
@@ -3,6 +3,7 @@
PORTNAME= fakebo
PORTVERSION= 0.4.2.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@@ -17,22 +18,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_AUTOTOOLS= aclocal autoheader automake autoconf
AUTOMAKE_ARGS= --add-missing
-MAN1= fakebo.1
-PORTDOCS= README custom.replies
-PLIST_FILES= bin/fakebo etc/fakebo.conf.sample
+PORT_OPTIONS= DOCS
-NO_STAGE= yes
post-extract:
@${FIND} ${WRKSRC} -type l -delete
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fakebo ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/fakebo.1 ${MANPREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/fakebo.conf.dist ${PREFIX}/etc/fakebo.conf.sample
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/custom.replies ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/fakebo ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/fakebo.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/fakebo.conf.dist ${STAGEDIR}${PREFIX}/etc/fakebo.conf.sample
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/custom.replies ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>