Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 23:18:26 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112941: [patch] print/acroread7 doesn't remove all directories
Message-ID:  <20070524131826.A678B574@k7.mavetju>
Resent-Message-ID: <200705241320.l4ODK4dp069712@freefall.freebsd.org>

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

>Number:         112941
>Category:       ports
>Synopsis:       [patch] print/acroread7 doesn't remove all directories
>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:   Thu May 24 13:20:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


>Description:

The port leaves the directory Adobe/Acrobat7.0

>How-To-Repeat:
>Fix:

Throw in two @dirrmtry's:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/print/acroread7/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	19 May 2007 20:20:38 -0000	1.23
+++ Makefile	24 May 2007 13:17:08 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	acroread7
 PORTVERSION?=	7.0.9
-PORTREVISION?=	1
+PORTREVISION?=	2
 PORTEPOCH?=	1
 CATEGORIES?=	print linux
 MASTER_SITES?=	http://ardownload.adobe.com/pub/adobe/reader/unix/7x/${VERSIONDIR}/${ADOBE_LANG:L}/ \
@@ -30,6 +30,8 @@
 NO_BUILD=	yes
 PLIST=		${PKGDIR}/pkg-plist.${PORTVERSION}
 PLIST_SUB=	ACRODIR=${ACRODIR} \
+		ACROBASE=${ACROBASE} \
+		ADOBEBASE=${ADOBEBASE} \
 		PLUGINDIR=${PLUGINDIR} \
 		ADOBE_LANG=${ADOBE_LANG:U} \
 		LOCALE_NAME=${LOCALE_NAME}
@@ -59,7 +61,9 @@
 .endif
 PLIST_SUB+=	LANG_NONENU=${LANG_NONENU}
 
-ACRODIR=	Adobe/Acrobat7.0/${ADOBE_LANG:U}
+ADOBEBASE=	Adobe
+ACROBASE=	${ADOBEBASE}/Acrobat7.0
+ACRODIR=	${ACROBASE}/${ADOBE_LANG:U}
 PLUGINDIR=	lib/browser_linux_plugins
 INSTALLDIR=	${PREFIX}/${ACRODIR}
 INSTALLEXEC=	${SETENV} UNAME_s=Linux \
Index: pkg-plist.7.0.9
===================================================================
RCS file: /home/pcvs/ports/print/acroread7/pkg-plist.7.0.9,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist.7.0.9
--- pkg-plist.7.0.9	18 Jan 2007 05:35:31 -0000	1.1
+++ pkg-plist.7.0.9	24 May 2007 13:17:10 -0000
@@ -718,3 +718,5 @@
 @dirrm %%ACRODIR%%/Browser/HowTo
 @dirrm %%ACRODIR%%/Browser
 @dirrm %%ACRODIR%%
+@dirrmtry %%ACROBASE%%
+@dirrmtry %%ADOBEBASE%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070524131826.A678B574>