diff options
author | ache <ache@FreeBSD.org> | 2002-08-27 03:47:11 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-08-27 03:47:11 +0800 |
commit | 6bfc3b4191d719f08de0df0290ccaea7d2b41182 (patch) | |
tree | 9956a64910f3f42ef196dfc5689579fb58c7feb5 /archivers/unrar/Makefile | |
parent | 7b8312c9af21aa3641591faf9a3446e900b98b5e (diff) | |
download | freebsd-ports-gnome-6bfc3b4191d719f08de0df0290ccaea7d2b41182.tar.gz freebsd-ports-gnome-6bfc3b4191d719f08de0df0290ccaea7d2b41182.tar.zst freebsd-ports-gnome-6bfc3b4191d719f08de0df0290ccaea7d2b41182.zip |
Upgrade to 3.00
PR: 41353
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'archivers/unrar/Makefile')
-rw-r--r-- | archivers/unrar/Makefile | 26 |
1 files changed, 14 insertions, 12 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> |