Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 16:36:43 +0800
From:      chinsan <chinsan.tw@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101889: [MAINTAINER] www/b2evolution: Respect DESTDIR
Message-ID:  <20060812085646.BD7C02E96A@smtp2.bc.hgc.com.tw>
Resent-Message-ID: <200608120900.k7C90VQ5090342@freefall.freebsd.org>

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

>Number:         101889
>Category:       ports
>Synopsis:       [MAINTAINER] www/b2evolution: Respect DESTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 09:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD BSD6.giga.hgc.com.tw 6.1-STABLE FreeBSD 6.1-STABLE #5: Mon Jul 17 09:30:36 CST 2006
>Description:
- Respect DESTDIR

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

--- b2evolution-0.9.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/b2evolution/Makefile /usr/home/chinsan/project/b2evolution/Makefile
--- /usr/ports/www/b2evolution/Makefile	Wed Aug  2 05:20:13 2006
+++ /usr/home/chinsan/project/b2evolution/Makefile	Sat Aug 12 16:30:56 2006
@@ -42,14 +42,14 @@
 		&& ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST}
 
 do-install:
-	-${MKDIR} ${PREFIX}/${B2EVO_DIR}
-	@${CHMOD} 755 ${PREFIX}/${B2EVO_DIR}
-	@${CP} -R ${WRKSRC}/ ${PREFIX}/${B2EVO_DIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${B2EVO_DIR}
-	@${CHMOD} 665 ${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
+	-${MKDIR} ${TARGETDIR}/${B2EVO_DIR}
+	@${CHMOD} 755 ${TARGETDIR}/${B2EVO_DIR}
+	@${CP} -R ${WRKSRC}/ ${TARGETDIR}/${B2EVO_DIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TARGETDIR}/${B2EVO_DIR}
+	@${CHMOD} 665 ${TARGETDIR}/${B2EVO_DIR}/blogs/conf/_config.php
 
 post-install:
-	@${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%PORTNAME%%|${PORTNAME}|' \
+	@${SED} -e 's|%%TARGETDIR%%|${TARGETDIR}|; s|%%PORTNAME%%|${PORTNAME}|' \
 		-e 's|%%B2EVO_DIR%%|${B2EVO_DIR}|; s|%%B2EVO_URL%%|${B2EVO_URL}|' \
 		${PKGMESSAGE}
 
diff -ruN --exclude=CVS /usr/ports/www/b2evolution/pkg-message /usr/home/chinsan/project/b2evolution/pkg-message
--- /usr/ports/www/b2evolution/pkg-message	Tue Aug  8 05:20:04 2006
+++ /usr/home/chinsan/project/b2evolution/pkg-message	Sat Aug 12 16:31:20 2006
@@ -19,7 +19,7 @@
     #
     # Directives to allow use of b2evolution
     #
-    Alias /%%PORTNAME%% "%%PREFIX%%/%%B2EVO_DIR%%/"
+    Alias /%%PORTNAME%% "%%TARGETDIR%%/%%B2EVO_DIR%%/"
 
 4.Open b2evo installation page in your web browser 
   and login with b2evouser/b2evopassword
--- b2evolution-0.9.2.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?20060812085646.BD7C02E96A>