aboutsummaryrefslogtreecommitdiff
path: root/mail/qmhandle
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 16:37:31 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 16:37:31 +0000
commitfbe0f96a2509487ca7747612978ff26147704584 (patch)
tree939ee3e57b75483fbe6ff8296e85ba2c7beb09f5 /mail/qmhandle
parent8098fdb72dfdb1dfe4047e0dd934c3219a077fac (diff)
downloadports-fbe0f96a2509487ca7747612978ff26147704584.tar.gz
ports-fbe0f96a2509487ca7747612978ff26147704584.zip
Notes
Diffstat (limited to 'mail/qmhandle')
-rw-r--r--mail/qmhandle/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/qmhandle/Makefile b/mail/qmhandle/Makefile
index 5927afbc87e8..cf18b6caa0d5 100644
--- a/mail/qmhandle/Makefile
+++ b/mail/qmhandle/Makefile
@@ -12,15 +12,14 @@ COMMENT= Tool to view and manage a qmail queue
LICENSE= GPLv2
-OPTIONS_DEFINE= DOCS
-
USES= qmail:run perl5 tar:bzip2
NO_BUILD= yes
+NO_ARCH= yes
PORTDOCS= HISTORY README
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,^#!/usr/bin/perl,#!${PERL},g' \
@@ -33,11 +32,11 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/qmHandle.conf.sample ${STAGEDIR}${PREFIX}/etc
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>