[Midnightbsd-cvs] mports [17444] trunk/devel/viewvc/Makefile: handle python the modern way
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 21 13:11:50 EDT 2014
Revision: 17444
http://svnweb.midnightbsd.org/mports/?rev=17444
Author: laffer1
Date: 2014-09-21 13:11:49 -0400 (Sun, 21 Sep 2014)
Log Message:
-----------
handle python the modern way
Modified Paths:
--------------
trunk/devel/viewvc/Makefile
Modified: trunk/devel/viewvc/Makefile
===================================================================
--- trunk/devel/viewvc/Makefile 2014-09-21 17:07:39 UTC (rev 17443)
+++ trunk/devel/viewvc/Makefile 2014-09-21 17:11:49 UTC (rev 17444)
@@ -2,6 +2,7 @@
PORTNAME= viewvc
PORTVERSION= 1.1.22
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://www.viewvc.org/ \
FREEBSD_LOCAL/ohauer
@@ -26,8 +27,13 @@
MODWSGI3_DESC= Enable mod_wsgi3 support
MODPYTHON3_DESC=Enable mod_python3 support
+USES= cpe
+CPE_VENDOR= viewvc
+CPE_PRODUCT= viewvc
+
NO_BUILD= yes
-USE_PYTHON= 2.5-2.7
+USE_RC_SUBR= viewvc
+USE_PYTHON= 2
SUB_FILES= pkg-message
SUB_LIST= INSTDIR="${PREFIX}/${INSTDIR}" \
PYTHON_CMD=${PYTHON_CMD} \
@@ -39,9 +45,6 @@
.include <bsd.mport.options.mk>
-# standalone script is usefull even if a webserver was choosen.
-USE_RC_SUBR= viewvc
-
RUN_DEPENDS+= ${LOCALBASE}/bin/pygmentize:${PORTSDIR}/textproc/py-pygments
# viewvc supports CVS and SVN, controlled with the parameter
More information about the Midnightbsd-cvs
mailing list