svn commit: r301953 - head/www/gaeutilities

Nicola Vitale nivit at FreeBSD.org
Fri Aug 3 14:33:21 UTC 2012


Author: nivit
Date: Fri Aug  3 14:33:21 2012
New Revision: 301953
URL: http://svn.freebsd.org/changeset/ports/301953

Log:
  - Remove http://nivi.interfree.it from MASTER_SITES
  - Set USE_PYTHON to 2.7 (same as www/google-appengine)
  - Convert to the new options framework

Modified:
  head/www/gaeutilities/Makefile   (contents, props changed)

Modified: head/www/gaeutilities/Makefile
==============================================================================
--- head/www/gaeutilities/Makefile	Fri Aug  3 13:11:10 2012	(r301952)
+++ head/www/gaeutilities/Makefile	Fri Aug  3 14:33:21 2012	(r301953)
@@ -9,8 +9,7 @@ PORTNAME=	gaeutilities
 PORTVERSION=	1.4
 PORTREVISION=	0
 CATEGORIES=	www devel
-MASTER_SITES=	http://cloud.github.com/downloads/joerussbowman/${PORTNAME}/ \
-		http://nivi.interfree.it/distfiles/${PORTNAME}/
+MASTER_SITES=	http://cloud.github.com/downloads/joerussbowman/${PORTNAME}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	nivit at FreeBSD.org
@@ -18,18 +17,22 @@ COMMENT=	Utility classes to make working
 
 RUN_DEPENDS=	google-appengine>=1.2.4_1:${PORTSDIR}/www/google-appengine
 
-MANUAL_PACKAGE_BUILD=	uses Python 2.5
-USE_PYTHON=	2.5 # same as www/google-appengine
+USE_PYTHON=	2.7 # same as www/google-appengine
 
 WRKSRC=	${WRKDIR}/joerussbowman-gaeutilities-ea3f7e1
 
+OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 do-build:
 	${PYTHON_CMD} -m compileall -f ${WRKSRC}/appengine_utilities
 	${PYTHON_CMD} -O -m compileall -f ${WRKSRC}/appengine_utilities
 
 do-install:
 	cd ${WRKSRC} && ${COPYTREE_SHARE} appengine_utilities ${PYTHONPREFIX_SITELIBDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR} && cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
 .endif
 



More information about the svn-ports-head mailing list