aboutsummaryrefslogtreecommitdiff
path: root/security/fakebo
diff options
context:
space:
mode:
Diffstat (limited to 'security/fakebo')
-rw-r--r--security/fakebo/Makefile20
-rw-r--r--security/fakebo/pkg-plist6
2 files changed, 14 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>
diff --git a/security/fakebo/pkg-plist b/security/fakebo/pkg-plist
new file mode 100644
index 000000000000..41d7e459b5a7
--- /dev/null
+++ b/security/fakebo/pkg-plist
@@ -0,0 +1,6 @@
+bin/fakebo
+@sample etc/fakebo.conf.sample
+man/man1/fakebo.1
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/custom.replies
+%%PORTDOCS%%@dirrm %%DOCSDIR%%