diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-05-16 02:05:24 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-05-16 02:05:24 +0800 |
commit | ec2359ade3790721d81c5402f8dd90257cf425f3 (patch) | |
tree | 5de7e26834c1381c23ab9504ef2c627bd139b545 /mail | |
parent | a719091ca2a3f4b078e7c4d9fe879eaf72a23727 (diff) | |
download | freebsd-ports-gnome-ec2359ade3790721d81c5402f8dd90257cf425f3.tar.gz freebsd-ports-gnome-ec2359ade3790721d81c5402f8dd90257cf425f3.tar.zst freebsd-ports-gnome-ec2359ade3790721d81c5402f8dd90257cf425f3.zip |
- Use DISTVERSIONPREFIX instead of DISTNAME
- Simplify Makefile
Diffstat (limited to 'mail')
-rw-r--r-- | mail/p5-Mail-SPF/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mail/p5-Mail-SPF/Makefile b/mail/p5-Mail-SPF/Makefile index 524297f42510..9460226f135f 100644 --- a/mail/p5-Mail-SPF/Makefile +++ b/mail/p5-Mail-SPF/Makefile @@ -3,11 +3,11 @@ PORTNAME= Mail-SPF PORTVERSION= 2.9.0 +DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= mail perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Object-oriented implementation of Sender Policy Framework @@ -35,17 +35,13 @@ PORTDOCS= CHANGES README TODO SHEBANG_FILES= bin/spfquery sbin/spfd -.include <bsd.port.options.mk> - post-patch: @${MV} ${WRKSRC}/sbin/spfd ${WRKSRC}/sbin/spfd.pl @${MV} ${WRKSRC}/bin/spfquery ${WRKSRC}/bin/spfquery.pl @${REINPLACE_CMD} -e 's|spfd|&.pl|; s|spfquery|&.pl|' ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST ${WRKSRC}/README post-install: -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ -.endif .include <bsd.port.mk> |