Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 19:41:11 +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: r344301 - head/mail/py-spf
Message-ID:  <201402141941.s1EJfBjb000931@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Feb 14 19:41:11 2014
New Revision: 344301
URL: http://svnweb.freebsd.org/changeset/ports/344301
QAT: https://qat.redports.org/buildarchive/r344301/

Log:
  - Use PYDISTUTILS_AUTOPLIST
  - Simplify Makefile

Deleted:
  head/mail/py-spf/pkg-plist
Modified:
  head/mail/py-spf/Makefile

Modified: head/mail/py-spf/Makefile
==============================================================================
--- head/mail/py-spf/Makefile	Fri Feb 14 19:41:04 2014	(r344300)
+++ head/mail/py-spf/Makefile	Fri Feb 14 19:41:11 2014	(r344301)
@@ -18,23 +18,20 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dns>
 OPTIONS_DEFINE=	DOCS
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
-USE_PYTHON=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 USE_PYDISTUTILS=yes
-PYDISTUTILS_PKGNAME=	py${PORTNAME}
+USE_PYTHON=	yes
 USES=		shebangfix
 
+PLIST_FILES=	bin/spf.py
 PORTDOCS=	CHANGELOG README
 
 SHEBANG_FILES=	spf.py
 
-.include <bsd.port.options.mk>
-
 post-install:
 	${CHMOD} ${BINMODE} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/spf.py
 	${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${STAGEDIR}${PREFIX}/bin/
-.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?201402141941.s1EJfBjb000931>