diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-02-09 03:25:02 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-02-09 03:25:02 +0000 |
commit | c4dee71af42f1717e1a2de657f5c6d24c3d19204 (patch) | |
tree | 9f00a9dd1697e0ff9511381d349c595aac991ee9 /mail/qmhandle | |
parent | 07a0704338936d5247dc336663262ecd7cd49221 (diff) | |
download | ports-c4dee71af42f1717e1a2de657f5c6d24c3d19204.tar.gz ports-c4dee71af42f1717e1a2de657f5c6d24c3d19204.zip |
Notes
Diffstat (limited to 'mail/qmhandle')
-rw-r--r-- | mail/qmhandle/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/qmhandle/Makefile b/mail/qmhandle/Makefile index 8c553e24725f..cfcc2ec2152e 100644 --- a/mail/qmhandle/Makefile +++ b/mail/qmhandle/Makefile @@ -16,13 +16,12 @@ OPTIONS_DEFINE= DOCS USES= qmail:run perl5 -NO_STAGE= yes NO_BUILD= yes USE_BZIP2= yes PORTDOCS= HISTORY README -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e 's,^#!/usr/bin/perl,#!${PERL},g' \ @@ -33,15 +32,13 @@ post-patch: ${WRKSRC}/qmHandle.conf.sample do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/qmHandle.conf.sample ${PREFIX}/etc - [ -f ${PREFIX}/etc/qmHandle.conf ] || \ - ${INSTALL_DATA} -m 0644 ${WRKSRC}/qmHandle.conf.sample ${PREFIX}/etc/qmHandle.conf + ${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/qmHandle.conf.sample ${STAGEDIR}${PREFIX}/etc .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |