2020-07-11 18:39:42 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.81 2020/07/11 18:39:42 naddy Exp $
|
2001-03-29 11:41:17 +00:00
|
|
|
|
2007-09-15 10:14:32 +00:00
|
|
|
COMMENT= extract, list, and test RAR archives
|
1997-11-16 21:06:30 +00:00
|
|
|
|
2011-03-18 20:14:58 +00:00
|
|
|
# NB: The software version is different from the distfile version.
|
|
|
|
# Check version.hpp or the banner printed when running unrar
|
|
|
|
# for the version to use in PKGNAME. In particular, RARVER_BETA
|
|
|
|
# is *not* a third digit, but increments before finally being set
|
2013-09-06 13:28:15 +00:00
|
|
|
# to 0 for a non-beta release, e.g., "5.00 beta 8" was succeeded
|
|
|
|
# by "5.00".
|
2011-03-18 20:14:58 +00:00
|
|
|
|
2020-07-11 18:39:42 +00:00
|
|
|
PKGNAME= unrar-5.91
|
2019-07-11 17:16:59 +00:00
|
|
|
EPOCH= 2
|
2020-07-11 18:39:42 +00:00
|
|
|
DISTNAME= unrarsrc-5.9.4
|
1997-11-16 21:06:30 +00:00
|
|
|
CATEGORIES= archivers
|
2003-04-16 20:59:17 +00:00
|
|
|
|
2019-07-11 17:16:59 +00:00
|
|
|
HOMEPAGE= https://www.rarlab.com/
|
1997-11-16 21:06:30 +00:00
|
|
|
|
2013-09-06 13:28:15 +00:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
2011-03-18 20:14:58 +00:00
|
|
|
# nonstandard
|
2019-07-12 20:43:27 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2010-07-11 15:57:46 +00:00
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB= c crypto m pthread ${COMPILER_LIBCXX}
|
2000-03-12 14:47:04 +00:00
|
|
|
|
2019-03-09 22:57:53 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
2018-10-24 14:27:57 +00:00
|
|
|
|
2003-04-16 20:59:17 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}rar/
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/unrar
|
1997-11-16 21:06:30 +00:00
|
|
|
|
2013-09-06 13:28:15 +00:00
|
|
|
MAKE_FILE= makefile
|
2011-03-18 20:14:58 +00:00
|
|
|
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" STRIP=:
|
2007-11-06 09:44:54 +00:00
|
|
|
|
1997-11-16 21:06:30 +00:00
|
|
|
do-install:
|
2003-04-16 20:59:17 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/unrar ${PREFIX}/bin
|
2000-03-26 22:40:24 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar
|
2003-04-16 20:59:17 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/readme.txt ${WRKSRC}/license.txt \
|
|
|
|
${PREFIX}/share/doc/unrar
|
1997-11-16 21:06:30 +00:00
|
|
|
|
2013-03-10 22:28:04 +00:00
|
|
|
NO_TEST= Yes
|
2001-10-04 22:26:48 +00:00
|
|
|
|
1997-11-16 21:06:30 +00:00
|
|
|
.include <bsd.port.mk>
|