aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmhandle
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-04 00:37:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-04 00:37:31 +0800
commit8d1fb8e72690743f88827b21b414b0c4afd2c5a3 (patch)
tree939ee3e57b75483fbe6ff8296e85ba2c7beb09f5 /mail/qmhandle
parent114d7f8dfce771e17f96127b86ceb6c435b2ebf6 (diff)
downloadfreebsd-ports-gnome-8d1fb8e72690743f88827b21b414b0c4afd2c5a3.tar.gz
freebsd-ports-gnome-8d1fb8e72690743f88827b21b414b0c4afd2c5a3.tar.zst
freebsd-ports-gnome-8d1fb8e72690743f88827b21b414b0c4afd2c5a3.zip
- Switch to options helpers
- Add some NO_ARCHes - Fix and unsilence some installation commands Approved by: portmgr blanket
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>