aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-08-25 18:59:10 +0800
committererwin <erwin@FreeBSD.org>2006-08-25 18:59:10 +0800
commitc0bea7e4a4420726bb4eeb8820f3ddb890e45c78 (patch)
tree87f869cf6151d990c2be231493bf830b7e73a1a3 /archivers
parent5ba4bb2c31f2732a4a3874b4c6ac33fb26ebf6e3 (diff)
downloadfreebsd-ports-gnome-c0bea7e4a4420726bb4eeb8820f3ddb890e45c78.tar.gz
freebsd-ports-gnome-c0bea7e4a4420726bb4eeb8820f3ddb890e45c78.tar.zst
freebsd-ports-gnome-c0bea7e4a4420726bb4eeb8820f3ddb890e45c78.zip
- Update to 3.60
- Add WITH_STATIC for using the statically linked version - Eliminate plist PR: 102228 Submitted by: gabor (maintainer)
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rar/Makefile16
-rw-r--r--archivers/rar/distinfo6
-rw-r--r--archivers/rar/pkg-plist11
3 files changed, 14 insertions, 19 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile
index b1294bba3024..ed4cc05da1b5 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= rar
-PORTVERSION= 3.51
-PORTREVISION= 1
+PORTVERSION= 3.60
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://files.rarlab.com/rar/ \
http://files2.rarlab.com/rar/
-DISTNAME= rarbsd-3.5.1
+DISTNAME= rarbsd-3.6.0
MAINTAINER= gkovesdan@t-hosting.hu
COMMENT= File archiver (binary port)
@@ -21,6 +20,9 @@ IA32_BINARY_PORT= YES
NO_PACKAGE= Only unmodified original package can be distributed
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rar
+PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1
+PORTDOCS= technote.txt license.txt whatsnew.txt order.htm \
+ readme.txt file_id.diz
.include <bsd.port.pre.mk>
@@ -37,7 +39,11 @@ STRIP=
.endif
do-install:
+.if !defined(WITH_STATIC)
${INSTALL_PROGRAM} ${WRKSRC}/rar ${TARGETDIR}/bin/rar
+.else
+ ${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${TARGETDIR}/bin/rar
+.endif
${INSTALL_MAN} ${WRKSRC}/rar.txt ${TARGETDIR}/man/cat1/rar.1
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${TARGETDIR}/etc
${INSTALL_DATA} ${WRKSRC}/default.sfx ${TARGETDIR}/lib
@@ -45,8 +51,8 @@ do-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-.for FILE in technote.txt license.txt order.htm readme.txt whatsnew.txt file_id.diz
- ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
diff --git a/archivers/rar/distinfo b/archivers/rar/distinfo
index 1ca3cbb88b8e..9ebffff70005 100644
--- a/archivers/rar/distinfo
+++ b/archivers/rar/distinfo
@@ -1,3 +1,3 @@
-MD5 (rarbsd-3.5.1.tar.gz) = 3e0b6f1b63f579eeb34ef911be79153d
-SHA256 (rarbsd-3.5.1.tar.gz) = 9920d8f12eb1be3fb875498aca0a07e0d50b8beea1b42a1949257a87b9a992cf
-SIZE (rarbsd-3.5.1.tar.gz) = 330982
+MD5 (rarbsd-3.6.0.tar.gz) = 25b783a1d98e1311002244e40380d91b
+SHA256 (rarbsd-3.6.0.tar.gz) = 862b368da367ac5836ab7fd6e082ac46c65f64277e1d7f958a9869de9946f097
+SIZE (rarbsd-3.6.0.tar.gz) = 718129
diff --git a/archivers/rar/pkg-plist b/archivers/rar/pkg-plist
deleted file mode 100644
index 2c29581afdf7..000000000000
--- a/archivers/rar/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-bin/rar
-lib/default.sfx
-etc/rarfiles.lst
-man/cat1/rar.1
-%%PORTDOCS%%%%DOCSDIR%%/technote.txt
-%%PORTDOCS%%%%DOCSDIR%%/license.txt
-%%PORTDOCS%%%%DOCSDIR%%/whatsnew.txt
-%%PORTDOCS%%%%DOCSDIR%%/order.htm
-%%PORTDOCS%%%%DOCSDIR%%/readme.txt
-%%PORTDOCS%%%%DOCSDIR%%/file_id.diz
-%%PORTDOCS%%@dirrm %%DOCSDIR%%