diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-26 17:17:57 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-26 17:17:57 +0800 |
commit | 0a809eb32482d39adb23cfdf7ddb3cd7e3080626 (patch) | |
tree | 4f7724ef46b26250c78816b283f8ed73e05ab1b9 /mail | |
parent | 7fabfd42b2ca11e492ef29010cb9ed9ecdd77a2c (diff) | |
download | freebsd-ports-gnome-0a809eb32482d39adb23cfdf7ddb3cd7e3080626.tar.gz freebsd-ports-gnome-0a809eb32482d39adb23cfdf7ddb3cd7e3080626.tar.zst freebsd-ports-gnome-0a809eb32482d39adb23cfdf7ddb3cd7e3080626.zip |
Support staging
Diffstat (limited to 'mail')
-rw-r--r-- | mail/maildirsync/Makefile | 22 | ||||
-rw-r--r-- | mail/maildirsync/pkg-plist | 1 |
2 files changed, 13 insertions, 10 deletions
diff --git a/mail/maildirsync/Makefile b/mail/maildirsync/Makefile index bf721f38c996..0b9a7ad9855a 100644 --- a/mail/maildirsync/Makefile +++ b/mail/maildirsync/Makefile @@ -9,24 +9,26 @@ MASTER_SITES= GOOGLE_CODE MAINTAINER= 5u623l20@gmail.com COMMENT= Online synchronizer for Maildir-format mailboxes -USES= perl5 +USES= perl5 shebangfix -MAN1= maildirsync.1 +SHEBANG_FILES= maildirsync.pl + +OPTIONS_DEFINE= EXAMPLES -NO_STAGE= yes do-build: - ${PERL} -pi -e 's!/usr/bin/perl!${PERL}!' ${WRKSRC}/maildirsync.pl pod2man ${WRKSRC}/maildirsync.pod > ${WRKSRC}/maildirsync.1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/maildirsync.pl ${PREFIX}/bin/maildirsync - ${INSTALL_MAN} ${WRKSRC}/maildirsync.1 ${MANPREFIX}/man/man1 - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/sample.sh ${EXAMPLESDIR} - @${MKDIR} ${EXAMPLESDIR}/mailbalance + ${INSTALL_SCRIPT} ${WRKSRC}/maildirsync.pl \ + ${STAGEDIR}${PREFIX}/bin/maildirsync + ${INSTALL_MAN} ${WRKSRC}/maildirsync.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/sample.sh ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mailbalance .for d in lib log trashbags ${RM} -rf ${WRKSRC}/contrib/mailbalance-0.2.0/${d} .endfor - ${INSTALL_DATA} ${WRKSRC}/contrib/mailbalance-0.2.0/* ${EXAMPLESDIR}/mailbalance + ${INSTALL_DATA} ${WRKSRC}/contrib/mailbalance-0.2.0/* \ + ${STAGEDIR}${EXAMPLESDIR}/mailbalance .include <bsd.port.mk> diff --git a/mail/maildirsync/pkg-plist b/mail/maildirsync/pkg-plist index 49c18e884fa4..16a264a92ed2 100644 --- a/mail/maildirsync/pkg-plist +++ b/mail/maildirsync/pkg-plist @@ -1,4 +1,5 @@ bin/maildirsync +man/man1/maildirsync.1.gz %%EXAMPLESDIR%%/sample.sh %%EXAMPLESDIR%%/mailbalance/PREPPED.USERS.db %%EXAMPLESDIR%%/mailbalance/README |