diff options
author | ache <ache@FreeBSD.org> | 2002-08-26 19:47:11 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-08-26 19:47:11 +0000 |
commit | 6bfc3b4191d719f08de0df0290ccaea7d2b41182 (patch) | |
tree | 9956a64910f3f42ef196dfc5689579fb58c7feb5 /archivers/unrar | |
parent | 7b8312c9af21aa3641591faf9a3446e900b98b5e (diff) | |
download | FreeBSD-ports-6bfc3b4191d719f08de0df0290ccaea7d2b41182.zip FreeBSD-ports-6bfc3b4191d719f08de0df0290ccaea7d2b41182.tar.gz |
Upgrade to 3.00
PR: 41353
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'archivers/unrar')
-rw-r--r-- | archivers/unrar/Makefile | 26 | ||||
-rw-r--r-- | archivers/unrar/distinfo | 2 |
2 files changed, 15 insertions, 13 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile index 21fc610..05d2322 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 be2cf72..eae6347 100644 --- a/archivers/unrar/distinfo +++ b/archivers/unrar/distinfo @@ -1 +1 @@ -MD5 (unrar-2.50.tar.gz) = d257849c672b019046f40113d0859ec4 +MD5 (unrarsrc.tar.gz) = 7c3b82490cbe130a40ce3fa14655605c |