1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Upgrade to 3.00

PR:		41353
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Andrey A. Chernov 2002-08-26 19:47:11 +00:00
parent cd70838d1d
commit 1f02af1af6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65057
2 changed files with 15 additions and 13 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (unrar-2.50.tar.gz) = d257849c672b019046f40113d0859ec4
MD5 (unrarsrc.tar.gz) = 7c3b82490cbe130a40ce3fa14655605c