diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-03-20 10:22:15 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-03-20 10:22:15 +0000 |
commit | 71e53f768c8dce13193540f9fb0a5304265b8778 (patch) | |
tree | a99b4f08d3d8bc57ae08fb826de638a4619961c4 /mail/gotmail | |
parent | 1616441cd1bc36d4821ffc5e62fc7020189c4f51 (diff) | |
download | ports-71e53f768c8dce13193540f9fb0a5304265b8778.tar.gz ports-71e53f768c8dce13193540f9fb0a5304265b8778.zip |
Notes
Diffstat (limited to 'mail/gotmail')
-rw-r--r-- | mail/gotmail/Makefile | 26 | ||||
-rw-r--r-- | mail/gotmail/pkg-plist | 5 |
2 files changed, 13 insertions, 18 deletions
diff --git a/mail/gotmail/Makefile b/mail/gotmail/Makefile index d93124838001..24e22a684afb 100644 --- a/mail/gotmail/Makefile +++ b/mail/gotmail/Makefile @@ -14,21 +14,21 @@ RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \ p5-URI>=0:${PORTSDIR}/net/p5-URI \ p5-Net>=0:${PORTSDIR}/net/p5-Net -MAN1= ${PORTNAME}.1 -USES= perl5 +USES= perl5 shebangfix + +PLIST_FILES= bin/gotmail man/man1/gotmail.1.gz +SHEBANG_FILES= gotmail +PORTDOCS= ChangeLog README sample.gotmailrc + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \ - ${MANPREFIX}/man/man1/${PORTNAME}.1 - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for i in ChangeLog README sample.gotmailrc - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor # i in ChangeLog README sample.gotmailrc -.endif # !defined(NOPORTDOCS) + ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1 + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +.endfor .include <bsd.port.mk> diff --git a/mail/gotmail/pkg-plist b/mail/gotmail/pkg-plist deleted file mode 100644 index 24fb432d7d36..000000000000 --- a/mail/gotmail/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/gotmail -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/sample.gotmailrc -%%PORTDOCS%%@dirrm %%DOCSDIR%% |