Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2017 19:13:53 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444674 - head/mail/t-prot
Message-ID:  <201706291913.v5TJDrHq060767@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jun 29 19:13:53 2017
New Revision: 444674
URL: https://svnweb.freebsd.org/changeset/ports/444674

Log:
  Remove Perl core modules
  
  - While I'm here:
    - Convert to options target helper
    - Add NO_ARCH
  - Bump PORTREVISION for dependency change
  
  With hat:	perl

Modified:
  head/mail/t-prot/Makefile

Modified: head/mail/t-prot/Makefile
==============================================================================
--- head/mail/t-prot/Makefile	Thu Jun 29 19:13:49 2017	(r444673)
+++ head/mail/t-prot/Makefile	Thu Jun 29 19:13:53 2017	(r444674)
@@ -3,6 +3,7 @@
 
 PORTNAME=	t-prot
 PORTVERSION=	2.101
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.escape.de/~tolot/mutt/t-prot/downloads/ \
 		LOCAL/sergei
@@ -10,9 +11,9 @@ MASTER_SITES=	http://www.escape.de/~tolot/mutt/t-prot/
 MAINTAINER=	torres.g.alex@gmail.com
 COMMENT=	TOFU Protection - Display Filter for RFC822 messages
 
-RUN_DEPENDS=	p5-Getopt-Long>=0:devel/p5-Getopt-Long \
-		p5-Locale-gettext>=0:devel/p5-Locale-gettext
+RUN_DEPENDS=	p5-Locale-gettext>=0:devel/p5-Locale-gettext
 
+NO_ARCH=	yes
 USES=		perl5 shebangfix
 NO_BUILD=	yes
 
@@ -26,9 +27,13 @@ OPTIONS_DEFINE=	EXAMPLES DOCS
 do-install:
 	${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}
+
+do-install-DOCS-on:
 	@${MKDIR} ${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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706291913.v5TJDrHq060767>