Skip site navigation (1)Skip section navigation (2)
Date:      6 Feb 2006 14:10:07 -0000
From:      Kevin Golding <kevin@caomhin.demon.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92891: Tidying up for Pointyhat
Message-ID:  <20060206141007.90914.qmail@hive.beehost.net>
Resent-Message-ID: <200602061410.k16EAA7E000591@freefall.freebsd.org>

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

>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@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
-@dirrm %%ACHVODIR%%
+@dirrmtry %%ACHVODIR%%
--- achievo-pointy4.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?20060206141007.90914.qmail>