From pgollucci@mail.bluecottontech.com  Sun Apr 12 06:43:32 2009
Return-Path: <pgollucci@mail.bluecottontech.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 53E83106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Apr 2009 06:43:32 +0000 (UTC)
	(envelope-from pgollucci@mail.bluecottontech.com)
Received: from mail.bluecottontech.com (static-76-161-175-34.dsl.cavtel.net [76.161.175.34])
	by mx1.freebsd.org (Postfix) with ESMTP id F182F8FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Apr 2009 06:43:31 +0000 (UTC)
	(envelope-from pgollucci@mail.bluecottontech.com)
Received: from mail.bluecottontech.com (localhost [127.0.0.1])
	by mail.bluecottontech.com (8.14.3/8.14.3) with ESMTP id n3C6hVJN050396;
	Sun, 12 Apr 2009 06:43:31 GMT
	(envelope-from pgollucci@mail.bluecottontech.com)
Received: (from pgollucci@localhost)
	by mail.bluecottontech.com (8.14.3/8.14.3/Submit) id n3C6hQGr050395;
	Sun, 12 Apr 2009 06:43:26 GMT
	(envelope-from pgollucci)
Message-Id: <200904120643.n3C6hQGr050395@mail.bluecottontech.com>
Date: Sun, 12 Apr 2009 06:43:26 GMT
From: "Philip M. Gollucci" <pgollucci@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: cjh@freebsd.org
Subject: [PATCH] korean/ko-mod_url: apache@ cleanups
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         133646
>Category:       ports
>Synopsis:       [PATCH] korean/ko-mod_url: apache@ cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 12 06:50:03 UTC 2009
>Closed-Date:    Fri May 08 20:24:43 UTC 2009
>Last-Modified:  Fri May 08 20:24:43 UTC 2009
>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@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@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
-@dirrm share/doc/mod_url/
--- ko-mod_url-20010905.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->cjh 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Apr 12 06:50:13 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133646 
Responsible-Changed-From-To: cjh->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Fri May 8 15:11:06 UTC 2009 
Responsible-Changed-Why:  
maintainer timeout (30 days) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133646 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/133646: commit references a PR
Date: Fri,  8 May 2009 15:42:25 +0000 (UTC)

 pgollucci    2009-05-08 15:42:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     korean/mod_url       Makefile 
   Removed files:
     korean/mod_url       pkg-plist 
   Log:
   - USE_APACHE=yes is deprecated
   - Handle NPORTDOCS
   - Convert to AP_FAST_BUILD/AP_GENPLIST
   
   PR:             ports/133646
   Approved by:    maintainter timeout (30 days)
   Submitted by:   me
   
   Revision  Changes    Path
   1.4       +16 -10    ports/korean/mod_url/Makefile
   1.3       +0 -3      ports/korean/mod_url/pkg-plist (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Fri May 8 20:24:42 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133646 
>Unformatted:
