openbsd-ports/archivers/unrar/Makefile

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.56 2012/04/08 17:04:20 naddy Exp $
COMMENT= extract, list, and test RAR archives
# 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
# to 0 for a non-beta release, e.g., "4.00 beta 6" was succeeded
# by "4.00".
PKGNAME= unrar-4.10
EPOCH= 1
DISTNAME= unrarsrc-4.1.4
CATEGORIES= archivers
HOMEPAGE= http://www.rarlab.com/
MAINTAINER= Amit Kulkarni <amitkulz@gmail.com>
# nonstandard
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto m stdc++
MASTER_SITES= ${HOMEPAGE}rar/
WRKDIST= ${WRKDIR}/unrar
MAKE_FILE= makefile.unix
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" STRIP=:
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/unrar ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar
${INSTALL_MAN} ${WRKSRC}/readme.txt ${WRKSRC}/license.txt \
${PREFIX}/share/doc/unrar
NO_REGRESS= Yes
.include <bsd.port.mk>