Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2015 18:05:25 +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: r386461 - head/mail/p5-Mail-SPF
Message-ID:  <201505151805.t4FI5P2x087833@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri May 15 18:05:24 2015
New Revision: 386461
URL: https://svnweb.freebsd.org/changeset/ports/386461

Log:
  - Use DISTVERSIONPREFIX instead of DISTNAME
  - Simplify Makefile

Modified:
  head/mail/p5-Mail-SPF/Makefile

Modified: head/mail/p5-Mail-SPF/Makefile
==============================================================================
--- head/mail/p5-Mail-SPF/Makefile	Fri May 15 18:05:20 2015	(r386460)
+++ head/mail/p5-Mail-SPF/Makefile	Fri May 15 18:05:24 2015	(r386461)
@@ -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>



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