diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-03-17 14:11:10 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-03-17 14:11:10 +0000 |
commit | c1b81c8bcc9a72554a0754200fa26a2bb0f22520 (patch) | |
tree | 3d1b60c2ac39691e96779442c4d15ec9fa9f1231 /mail/t-prot/Makefile | |
parent | cdf4edc50e9151bc2d7aa35f449564ab47ff763e (diff) |
- Support staging
- Use shebangfix
- Define EXAMPLES option
- Define DOCS option
- Use WWW: with a single space
Notes
Notes:
svn path=/head/; revision=348475
Diffstat (limited to 'mail/t-prot/Makefile')
-rw-r--r-- | mail/t-prot/Makefile | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/mail/t-prot/Makefile b/mail/t-prot/Makefile index 5093ddf4c09b..486089e56bf5 100644 --- a/mail/t-prot/Makefile +++ b/mail/t-prot/Makefile @@ -11,25 +11,24 @@ MAINTAINER= torres.g.alex@gmail.com COMMENT= TOFU Protection - Display Filter for RFC822 messages RUN_DEPENDS= p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \ - p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext + p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext -USES= perl5 +USES= perl5 shebangfix NO_BUILD= yes -MAN1= t-prot.1 -DOCS= ChangeLog README TODO +PORTDOCS= ChangeLog README TODO +PORTEXAMPLES= * +PLIST_FILES= man/man1/t-prot.1.gz bin/t-prot +SHEBANG_FILES= t-prot + +OPTIONS_DEFINE= EXAMPLES DOCS -NO_STAGE= yes do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/contrib/* ${EXAMPLESDIR} -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/contrib/* ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |