Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 15:34:35 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, clsung@FreeBSD.org
Subject:   ports/101875: [PATCH] www/lifetype: Respect DESTDIR and remove WWWOEN/WWWGRP
Message-ID:  <20060812073435.37554372@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608120740.k7C7eHMY083267@freefall.freebsd.org>

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

>Number:         101875
>Category:       ports
>Synopsis:       [PATCH] www/lifetype: Respect DESTDIR and remove WWWOEN/WWWGRP
>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:   Sat Aug 12 07:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR
- Remove WWWOWN & WWWGRP (already in bsd.port.mk)

Port maintainer (clsung@FreeBSD.org) is cc'd.

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

--- lifetype-1.0.6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/lifetype/Makefile /home/staff/gslin/work/ports/lifetype/Makefile
--- /usr/ports/www/lifetype/Makefile	Mon Jul 17 09:46:19 2006
+++ /home/staff/gslin/work/ports/lifetype/Makefile	Sat Aug 12 15:33:41 2006
@@ -20,18 +20,15 @@
 IGNOREFILES=	${PORTVERSION:R}__all_plugins${EXTRACT_SUFX} \
 		${PORTVERSION:R}__all_templates${EXTRACT_SUFX}
 
-USE_ZIP=	YES
-
-USE_PHP=	ctype mysql pcre session xml
 NO_BUILD=	YES
+PKGMESSAGE=	${WRKDIR}/pkg-message
+PLIST=		${WRKDIR}/pkg-plist
+PLOGDIR?=	${WWWDOCROOT}/${PLOGURL}
+PLOGURL?=	lifetype
+USE_PHP=	ctype mysql pcre session xml
+USE_ZIP=	YES
 WANT_PHP_WEB=	YES
 WWWDOCROOT?=	www
-PLOGURL?=	lifetype
-WWWOWN?=	www
-WWWGRP?=	www
-PLOGDIR?=	${WWWDOCROOT}/${PLOGURL}
-PLIST=		${WRKDIR}/pkg-plist
-PKGMESSAGE=	${WRKDIR}/pkg-message
 
 OPTIONS=	BIG5		"With Big5 chinese template fix" off \
 		GD		"With GD Support" on \
@@ -74,9 +71,9 @@
 		&& ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST}
 
 do-install:
-	@${MKDIR} ${PREFIX}/${PLOGDIR}
-	@${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR}
+	@${MKDIR} ${TARGETDIR}/${PLOGDIR}
+	@${CP} -R ${WRKSRC}/ ${TARGETDIR}/${PLOGDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TARGETDIR}/${PLOGDIR}
 
 post-install:
 	@${SED} -e 's|%%PLOGURL%%|${PLOGURL}|' pkg-message > ${PKGMESSAGE}
--- lifetype-1.0.6.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?20060812073435.37554372>