Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2009 07:09:36 GMT
From:      "Philip M. Gollucci" <pgollucci@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ychsiao@ychsiao.org
Subject:   ports/133648: [PATCH] www/mod_blosxom: apache@ cleanups
Message-ID:  <200904120709.n3C79aWh079684@mail.bluecottontech.com>
Resent-Message-ID: <200904120710.n3C7A1Tj032882@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133648
>Category:       ports
>Synopsis:       [PATCH] www/mod_blosxom: 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 07:10:01 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
- Install examples and handle NOPORTEXAMPLES
- Convert to AP_FAST_BUILD/AP_GENPLIST
- Bump PORTREVISION

Removed file(s):
- pkg-plist

Port maintainer (ychsiao@ychsiao.org) is cc'd.

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

--- mod_blosxom-0.05_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_blosxom/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile	13 May 2006 04:41:14 -0000	1.8
+++ Makefile	12 Apr 2009 07:08:53 -0000
@@ -7,16 +7,24 @@
 
 PORTNAME=	mod_blosxom
 PORTVERSION=	0.05
+PORTREVISION=	1
 CATEGORIES=	www
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	mod-blosxom
+MASTER_SITES=	SF
+MASTER_SITE_SUBDIR=	${PORTNAME:S/_/-/}
 
 MAINTAINER=	ychsiao@ychsiao.org
 COMMENT=	Apache module to build the extremely lightweight Weblog environment
 
-USE_APACHE=	yes
+USE_APACHE=	1.3
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
 
-post-patch:
-	${REINPLACE_CMD} -e 's,^APXS=.*,APXS=${APXS},' ${WRKSRC}/Makefile
+PORTEXAMPLES=	sample
+
+post-install:
+.if !defined(NOPORTEXAMPLES)
+	${MKDIR} ${EXAMPLESDIR}/
+	${COPYTREE_SHARE} ${WRKSRC}/sample ${EXAMPLESDIR}/sample
+.endif
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	18 Apr 2003 07:09:17 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-libexec/apache/mod_blosxom.so
-@exec %D/sbin/apxs -e -A -n blosxom %D/%F
-@unexec %D/sbin/apxs -e -A -n blosxom %D/%F
--- mod_blosxom-0.05_1.patch ends here ---

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



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