1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Remove Perl core modules

- While I'm here:
  - Convert to options target helper
  - Add NO_ARCH
- Bump PORTREVISION for dependency change

With hat:	perl
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-06-29 19:13:53 +00:00
parent 103ec61a01
commit e7dcb85d5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444674

View File

@ -3,6 +3,7 @@
PORTNAME= t-prot PORTNAME= t-prot
PORTVERSION= 2.101 PORTVERSION= 2.101
PORTREVISION= 1
CATEGORIES= mail CATEGORIES= mail
MASTER_SITES= http://www.escape.de/~tolot/mutt/t-prot/downloads/ \ MASTER_SITES= http://www.escape.de/~tolot/mutt/t-prot/downloads/ \
LOCAL/sergei LOCAL/sergei
@ -10,9 +11,9 @@ MASTER_SITES= http://www.escape.de/~tolot/mutt/t-prot/downloads/ \
MAINTAINER= torres.g.alex@gmail.com MAINTAINER= torres.g.alex@gmail.com
COMMENT= TOFU Protection - Display Filter for RFC822 messages COMMENT= TOFU Protection - Display Filter for RFC822 messages
RUN_DEPENDS= p5-Getopt-Long>=0:devel/p5-Getopt-Long \ RUN_DEPENDS= p5-Locale-gettext>=0:devel/p5-Locale-gettext
p5-Locale-gettext>=0:devel/p5-Locale-gettext
NO_ARCH= yes
USES= perl5 shebangfix USES= perl5 shebangfix
NO_BUILD= yes NO_BUILD= yes
@ -26,9 +27,13 @@ OPTIONS_DEFINE= EXAMPLES DOCS
do-install: do-install:
${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/* ${STAGEDIR}${EXAMPLESDIR} do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk> .include <bsd.port.mk>