ports/101875: [PATCH] www/lifetype: Respect DESTDIR and remove WWWOEN/WWWGRP
Gea-Suan Lin
gslin at gslin.org
Sat Aug 12 07:40:19 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list