[Midnightbsd-cvs] mports [20602] trunk/www/mod_python33: fix fetching

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 31 15:47:51 EDT 2015


Revision: 20602
          http://svnweb.midnightbsd.org/mports/?rev=20602
Author:   laffer1
Date:     2015-10-31 15:47:50 -0400 (Sat, 31 Oct 2015)
Log Message:
-----------
fix fetching

Modified Paths:
--------------
    trunk/www/mod_python33/Makefile
    trunk/www/mod_python33/distinfo

Modified: trunk/www/mod_python33/Makefile
===================================================================
--- trunk/www/mod_python33/Makefile	2015-10-31 19:42:55 UTC (rev 20601)
+++ trunk/www/mod_python33/Makefile	2015-10-31 19:47:50 UTC (rev 20602)
@@ -2,13 +2,12 @@
 
 PORTNAME=	mod_python
 PORTVERSION=	3.3.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
-MASTER_SITES=	${MASTER_SITE_APACHE_HTTPD}
-MASTER_SITE_SUBDIR=	modpython
+MASTER_SITES=	APACHE_HTTPD/modpython
 PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
-PKGNAMESUFFIX=        33
-EXTRACT_SUFX=	.tgz
+PKGNAMESUFFIX=	33
+DIST_SUBDIR=	apache2
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Apache module that embeds the Python interpreter within the server
@@ -15,15 +14,25 @@
 
 LICENSE=	apache2
 
+CONFLICTS_INSTALL=	ap2[24]-mod_python3[^3]*
+
 USE_APACHE=	22
-USES=		python
+USES=		cpe python tar:tgz
+CPE_VENDOR=	apache
 
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--with-apxs="${APXS}"		\
+			--with-python="${PYTHON_CMD}"	\
+			--without-flex
+
+LDFLAGS+=	-L${LOCALBASE}/lib
 MAKE_ARGS+=	APXS=${APXS}
-
-INSTALLS_EGGINFO=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}" \
-		--without-flex
 MAKE_ENV=	EXPR_COMPAT=yes
+PLIST_SUB+=	PORTVERSION=${PORTVERSION} \
+		PYTHON_VER=${PYTHON_VER}
 
+# You need to install apache & mod_python before you run this
+regression-test: build
+	-@${MAKE} check -C ${WRKSRC}
+
 .include <bsd.port.mk>

Modified: trunk/www/mod_python33/distinfo
===================================================================
--- trunk/www/mod_python33/distinfo	2015-10-31 19:42:55 UTC (rev 20601)
+++ trunk/www/mod_python33/distinfo	2015-10-31 19:47:50 UTC (rev 20602)
@@ -1,2 +1,2 @@
-SHA256 (mod_python-3.3.1.tgz) = ad2331fd5fcfd720ef9e3482973fc2d06eff36ba0c44693cfa42056a62175a6b
-SIZE (mod_python-3.3.1.tgz) = 447954
+SHA256 (apache2/mod_python-3.3.1.tgz) = ad2331fd5fcfd720ef9e3482973fc2d06eff36ba0c44693cfa42056a62175a6b
+SIZE (apache2/mod_python-3.3.1.tgz) = 447954



More information about the Midnightbsd-cvs mailing list