ports/92891: Tidying up for Pointyhat

Kevin Golding kevin at caomhin.demon.co.uk
Mon Feb 6 14:10:12 UTC 2006


>Number:         92891
>Category:       ports
>Synopsis:       Tidying up for Pointyhat
>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:   Mon Feb 06 14:10:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Golding
>Release:        FreeBSD 5.3-RELEASE-p17 i386
>Organization:
>Environment:
System: FreeBSD hive.caomhin.org 5.3-RELEASE-p17 FreeBSD 5.3-RELEASE-p17 #1: Thu Jun 30 17:35:51 BST 2005 kgolding at hive.caomhin.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Pointyhat found a problem in the pkg for 4.* which also inspired a little tidying in general
>How-To-Repeat:
	
>Fix:

	

--- achievo-pointy4.patch begins here ---
diff -urN achievo-orig/Makefile achievo/Makefile
--- achievo-orig/Makefile	Mon Feb  6 13:41:21 2006
+++ achievo/Makefile	Mon Feb  6 14:02:58 2006
@@ -21,16 +21,16 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 NO_BUILD=	YES
 
-ACHVODIR?=	www/data.default/achievo
+ACHVODIR?=	www/achievo
 PLIST_SUB=	ACHVODIR=${ACHVODIR}
 
 post-patch:
 	@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default
 
 do-install:
-	@${MKDIR} ${PREFIX}/www/data.default/achievo
-	@${CP} -R ${WRKSRC}/* ${PREFIX}/www/data.default/achievo/
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ACHVODIR}
+	@${MKDIR} ${ACHVODIR}
+	@${CP} -R ${WRKSRC}/* ${ACHVODIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${ACHVODIR}
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -urN achievo-orig/pkg-plist achievo/pkg-plist
--- achievo-orig/pkg-plist	Mon Feb  6 13:41:21 2006
+++ achievo/pkg-plist	Mon Feb  6 13:52:42 2006
@@ -565,4 +565,4 @@
 @dirrm %%ACHVODIR%%/atk/db
 @dirrm %%ACHVODIR%%/atk/attributes
 @dirrm %%ACHVODIR%%/atk
- at dirrm %%ACHVODIR%%
+ at dirrmtry %%ACHVODIR%%
--- achievo-pointy4.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list