openbsd-ports/archivers/unrar/Makefile
sturm 44dc3775bd update to unrarsrc 3.2.1 (but it's called 3.20beta3 internally?!)
This update is based on an update by naddy@ done earlier this year.
I updated that to the current version and fixed sparc64 by disallowing
exceptions (otherwise core dumps would occur). I got some feedback from
wilfried@.

Main changes in the program are a seemingly total rewrite in C++ with
support for newer versions of the RAR algorithm (well, newer files that
didn't uncompress with the old unrar, uncompress with this).
2003-04-16 20:59:17 +00:00

38 lines
880 B
Makefile

# $OpenBSD: Makefile,v 1.19 2003/04/16 20:59:17 sturm Exp $
COMMENT= "extract, list, and test RAR archives"
DISTNAME= unrarsrc-3.2.1
PKGNAME= unrar-3.20beta3
CATEGORIES= archivers
HOMEPAGE= http://www.rarlab.com/
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= "may not modify"
PERMIT_DISTFILES_CDROM= "no fee"
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}rar/
# - work around optimizer bug in gcc 2.95
# - exceptions don't work on sparc64
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-patch-*
.endif
WRKDIST= ${WRKDIR}/unrar
MAKE_FILE= makefile.unix
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" DEFINES=""
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>