ports/133646: [PATCH] korean/ko-mod_url: apache@ cleanups

Philip M. Gollucci pgollucci at FreeBSD.org
Sun Apr 12 06:50:04 UTC 2009


>Number:         133646
>Category:       ports
>Synopsis:       [PATCH] korean/ko-mod_url: apache@ cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 12 06:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.1-RELEASE-p3 amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD mail.bluecottontech.com 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Tue Mar 10 22:10:18 UTC 2009
>Description:
- USE_APACHE=yes is deprecated
- Handle NPORTDOCS
- Convert to AP_FAST_BUILD/AP_GENPLIST

Removed file(s):
- pkg-plist

Port maintainer (cjh at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ko-mod_url-20010905.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/korean/mod_url/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile	30 Mar 2004 19:20:19 -0000	1.3
+++ Makefile	12 Apr 2009 06:42:41 -0000
@@ -13,20 +13,26 @@
 MAINTAINER=		cjh at FreeBSD.org
 COMMENT=		Apache module for manipulating euc-kr encoded URL
 
-USE_APACHE=	yes
+USE_APACHE=	1.3
 USE_ICONV=	yes
 
-do-extract:
-	${MKDIR} ${WRKSRC}
-	${CP} ${_DISTDIR}/${PORTNAME}.c ${_DISTDIR}/readme.mod_url ${WRKSRC}
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+
+AP_INC=	${LOCALBASE}/include
+AP_LIB=	${LOCALBASE}/lib -liconv
 
-do-build:
-	cd ${WRKSRC}; ${APXS} -c -I${PREFIX}/include -L${PREFIX}/lib -liconv ${PORTNAME}.c
+PORTDOCS=	readme.${PORTNAME}
+
+do-extract:
+	${MKDIR} ${WRKSRC}/
+	${CP} ${_DISTDIR}/${PORTNAME}.c ${_DISTDIR}/readme.${PORTNAME} ${WRKSRC}/
 
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/libexec/apache/
-	${MKDIR} ${PREFIX}/share/doc/mod_url
-	${INSTALL_DATA} ${WRKSRC}/readme.${PORTNAME} ${PREFIX}/share/doc/mod_url/
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
+.endif
 	${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	15 Apr 2004 10:39:01 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-libexec/apache/mod_url.so
-share/doc/mod_url/readme.mod_url
- at dirrm share/doc/mod_url/
--- ko-mod_url-20010905.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list