diff options
author | sf <sf@FreeBSD.org> | 2001-03-09 19:50:11 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-03-09 19:50:11 +0000 |
commit | a39602d82d6543430d863b2d74de3c964f11b674 (patch) | |
tree | 40d3401f42e48491193c0c1cf0ada44984370719 /archivers | |
parent | 9776aabd5385b7fd6171aa92b82ce0d1e19962b2 (diff) | |
download | FreeBSD-ports-a39602d82d6543430d863b2d74de3c964f11b674.zip FreeBSD-ports-a39602d82d6543430d863b2d74de3c964f11b674.tar.gz |
o update to 2.80.
o show message to activate linuxulator to make extract.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/linux_rar/Makefile | 31 | ||||
-rw-r--r-- | archivers/linux_rar/distinfo | 2 | ||||
-rw-r--r-- | archivers/linux_rar/pkg-plist | 2 | ||||
-rw-r--r-- | archivers/linux_rar/scripts/pre-extract | 8 |
4 files changed, 24 insertions, 19 deletions
diff --git a/archivers/linux_rar/Makefile b/archivers/linux_rar/Makefile index e431765..7d886de 100644 --- a/archivers/linux_rar/Makefile +++ b/archivers/linux_rar/Makefile @@ -7,17 +7,17 @@ # PORTNAME= linux_rar -PORTVERSION= 2.71 +PORTVERSION= 2.80 CATEGORIES= archivers linux -MASTER_SITES= ftp://ftp.netlab.sk/public/rarsoft/rar/ \ +MASTER_SITES= ftp://ftp.download.com/pub/linux/ \ + ftp://ftp.netlab.sk/public/rarsoft/rar/ \ ftp://rarsoft.ti.sk/pub/rar/ -DISTNAME= rarlnx271 +DISTNAME= rarlnx${PORTVERSION:S/0//S/.//} EXTRACT_SUFX= .sfx MAINTAINER= sf@FreeBSD.org -BUILD_DEPENDS= /compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base -RUN_DEPENDS= /compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base +USE_LINUX= yes NO_BUILD= yes ONLY_FOR_ARCHS= i386 @@ -29,12 +29,17 @@ EXTRACT_BEFORE_ARGS= # empty EXTRACT_AFTER_ARGS= # empty STRIP= # empty: do not strip linux binary during INSTALL_PROGRAM WRKSRC= ${WRKDIR}/rar -PLIST= ${WRKSRC}/PLIST -RARDOCS= license.txt rar_faq.txt rar_site.txt readme.txt register.frm \ - register.txt rereg.txt technote.txt whatsnew.txt +RARDOCS= license.txt rar.txt rar_faq.txt rar_site.txt readme.txt \ + register.frm register.txt rereg.txt technote.txt whatsnew.txt RARFILES= rarfiles.lst default.sfx dos.sfx +.if defined(WITH_UNRAR) +PLIST_SUB= UNRAR="" +.else +PLIST_SUB= UNRAR="@comment " +.endif + post-fetch: @${CHMOD} a+x ${DISTDIR}/${DISTFILES} @@ -49,7 +54,6 @@ do-install: .if defined(WITH_UNRAR) @${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin brandelf -t Linux ${PREFIX}/bin/unrar - @${ECHO} bin/unrar >> ${PLIST} .endif .for i in ${RARDOCS} @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/rar @@ -57,15 +61,6 @@ do-install: .for i in ${RARFILES} @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/rar .endfor - @${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1 - - @${CP} ${PKGDIR}/pkg-plist ${PLIST} -.if !defined(NOMANCOMPRESS) - @${GZIP_CMD} ${PREFIX}/man/cat1/rar.1 - @${ECHO} man/cat1/rar.1.gz >> ${PLIST} -.else - @${ECHO} man/cat1/rar.1 >> ${PLIST} -.endif post-install: @${ECHO_MSG} "This is 40 days trial version of commercial software." diff --git a/archivers/linux_rar/distinfo b/archivers/linux_rar/distinfo index 2e217e3..8e19106 100644 --- a/archivers/linux_rar/distinfo +++ b/archivers/linux_rar/distinfo @@ -1 +1 @@ -MD5 (rarlnx271.sfx) = 5042cf753833ab8ca4fce21a1a28b579 +MD5 (rarlnx28.sfx) = 1d4edfebbc7a1bc553a8bce2c9670fd8 diff --git a/archivers/linux_rar/pkg-plist b/archivers/linux_rar/pkg-plist index a50391e..43349fe 100644 --- a/archivers/linux_rar/pkg-plist +++ b/archivers/linux_rar/pkg-plist @@ -1,5 +1,7 @@ bin/rar +%%UNRAR%%bin/unrar share/doc/rar/license.txt +share/doc/rar/rar.txt share/doc/rar/rar_faq.txt share/doc/rar/rar_site.txt share/doc/rar/readme.txt diff --git a/archivers/linux_rar/scripts/pre-extract b/archivers/linux_rar/scripts/pre-extract new file mode 100644 index 0000000..11d27d6 --- /dev/null +++ b/archivers/linux_rar/scripts/pre-extract @@ -0,0 +1,8 @@ +#!/bin/sh + +if kldstat -v | grep -q linuxelf; then exit; fi + +cat <<_E_O_F_ +This port requires linux emulator activated before extract distfile. +_E_O_F_ +exit 1 |