ports/101788: [patch] archivers/unarj
Gabor Kovesdan
gabor at FreeBSD.org
Thu Aug 10 22:50:28 UTC 2006
>Number: 101788
>Category: ports
>Synopsis: [patch] archivers/unarj
>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 Aug 10 22:50:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gabor Kovesdan
>Release: FreeBSD 6.1-STABLE i386
>Organization:
n/a
>Environment:
System: FreeBSD spitfire 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul 29 18:31:18 CEST 2006 gabor at spitfire:/usr/src/sys/i386/compile/SPITFIRE i386
>Description:
- Respect DESTDIR
- Respect NOPORTDOCS
- Bump PORTREVISION
- Eliminate plist
>How-To-Repeat:
>Fix:
--- archivers-unarj.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/archivers/unarj/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile 29 Nov 2004 21:28:13 -0000 1.20
+++ Makefile 10 Aug 2006 22:36:40 -0000
@@ -7,7 +7,7 @@
PORTNAME= unarj
PORTVERSION= 2.65
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ache
@@ -16,14 +16,19 @@
MAINTAINER= ache at FreeBSD.org
COMMENT= Allows files to be extracted from ARJ archives
+PLIST_FILES= bin/unarj
+PORTDOCS= unarj.txt technote.txt
+
post-patch:
${CP} ${FILESDIR}/sanitize.c ${WRKSRC}
do-install:
- ${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
- ${PREFIX}/share/doc/unarj
- cd ${WRKSRC}; ${INSTALL_PROGRAM} unarj ${PREFIX}/bin
- cd ${WRKSRC}; ${INSTALL_DATA} unarj.txt technote.txt \
- ${PREFIX}/share/doc/unarj
+ ${INSTALL_PROGRAM} ${WRKSRC}/unarj ${TARGETDIR}/bin
+.if !defined(NOPORTDOCS)
+ ${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 29 Nov 2004 15:03:09 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-bin/unarj
-%%DOCSDIR%%/unarj.txt
-%%DOCSDIR%%/technote.txt
- at dirrm %%DOCSDIR%%
--- archivers-unarj.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list