aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-08-26 19:47:11 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-08-26 19:47:11 +0000
commit1f02af1af66f22b496b2669856bb96fdb09d9e72 (patch)
tree15f3899be441d931ae68f31dbfb9ae5cd9368c2e /archivers
parentcd70838d1d50e48946fead7e01dda617ccab9eff (diff)
downloadports-1f02af1af66f22b496b2669856bb96fdb09d9e72.tar.gz
ports-1f02af1af66f22b496b2669856bb96fdb09d9e72.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unrar/Makefile26
-rw-r--r--archivers/unrar/distinfo2
2 files changed, 15 insertions, 13 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index 21fc610845a8..05d2322aeaaf 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -6,25 +6,27 @@
#
PORTNAME= unrar
-PORTVERSION= 2.50
+PORTVERSION= 3.00
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ache
+MASTER_SITES= http://files2.rarlab.com/rar/
+DISTNAME= unrarsrc
MAINTAINER= ache@FreeBSD.org
NO_WRKSUBDIR= Yes
-NO_LATEST_LINK= yes
-do-build:
- cd ${WRKSRC} && \
- ${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar
+ALL_TARGET= makeunrar
+
+post-patch:
+ @${SED} -e 's|c++|${CXX}|g' -e 's|-O2|${CXXFLAGS}|g' \
+ ${WRKSRC}/makefile.gcc > ${WRKSRC}/Makefile
do-install:
- ${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
- ${PREFIX}/share/doc/unrar
- cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX}/bin
- cd ${WRKSRC} && ${INSTALL_MAN} readme.txt license.txt \
- ${PREFIX}/share/doc/unrar
+ ${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/archivers/unrar/distinfo b/archivers/unrar/distinfo
index be2cf7262ac2..eae6347173d0 100644
--- a/archivers/unrar/distinfo
+++ b/archivers/unrar/distinfo
@@ -1 +1 @@
-MD5 (unrar-2.50.tar.gz) = d257849c672b019046f40113d0859ec4
+MD5 (unrarsrc.tar.gz) = 7c3b82490cbe130a40ce3fa14655605c