Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2017 20:01:34 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455909 - in head/www: mod_http2-devel mod_md-devel
Message-ID:  <201712102001.vBAK1Yvs003006@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sun Dec 10 20:01:34 2017
New Revision: 455909
URL: https://svnweb.freebsd.org/changeset/ports/455909

Log:
  www/mod_http2-devel: Align PKGNAME with other Apache modules
  
   - Same for mod_md-devel
   - While here remove no longer needed cruft

Modified:
  head/www/mod_http2-devel/Makefile
  head/www/mod_md-devel/Makefile

Modified: head/www/mod_http2-devel/Makefile
==============================================================================
--- head/www/mod_http2-devel/Makefile	Sun Dec 10 19:55:16 2017	(r455908)
+++ head/www/mod_http2-devel/Makefile	Sun Dec 10 20:01:34 2017	(r455909)
@@ -1,10 +1,12 @@
 # Created by: Bernard Spil <brnrd@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	mod_http2-devel
+PORTNAME=	mod_http2
 PORTVERSION=	1.10.14
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
+PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	brnrd@FreeBSD.org
 COMMENT=	Early experience HTTP/2 modules for Apache httpd
@@ -22,13 +24,10 @@ GH_ACCOUNT=	icing
 GH_PROJECT=	mod_h2
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--program-prefix=ext-
-CONFIGURE_ENV=	CONFIG_SHELL=/bin/sh
 
 MODULENAME=	${GH_PROJECT}
 
 CFLAGS+=	-I${LOCALBASE}/include
-CPPFLAGS+=	-I${LOCALBASE}/include
 
 PORTDOCS=	README README.md
 PLIST_FILES=	${APACHEMODDIR}/mod_h2.so \
@@ -42,8 +41,6 @@ post-install:
 		${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_h2.so
 	${RM} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_http2.so
 	${RM} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_http2.so
-	${MV} ${STAGEDIR}${PREFIX}/share/doc/mod_http2 \
-		${STAGEDIR}${DOCSDIR}
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_h2.so
 	${RM} -v ${STAGEDIR}${DOCSDIR}/LICENSE

Modified: head/www/mod_md-devel/Makefile
==============================================================================
--- head/www/mod_md-devel/Makefile	Sun Dec 10 19:55:16 2017	(r455908)
+++ head/www/mod_md-devel/Makefile	Sun Dec 10 20:01:34 2017	(r455909)
@@ -5,6 +5,7 @@ PORTNAME=	mod_md
 PORTVERSION=	1.0.7
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
+PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	brnrd@FreeBSD.org
@@ -19,7 +20,7 @@ LIB_DEPENDS=	libaprutil-1.so:devel/apr1 \
 
 USES=		autoreconf libtool ssl
 USE_GITHUB=	yes
-USE_APACHE=	24
+USE_APACHE=	24+
 
 GH_ACCOUNT=	icing
 GH_PROJECT=	mod_md
@@ -45,6 +46,5 @@ post-install:
 		${WRKSRC}/src/a2md
 	${INSTALL} ${WRKSRC}/src/a2md ${STAGEDIR}${PREFIX}/bin/a2md
 	${RM} ${STAGEDIR}${PREFIX}/share/doc/mod_md/LICENSE
-#	${RM} ${STAGEDIR}${PREFIX}/bin/ext-a2md
 
 .include <bsd.port.post.mk>



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