openbsd-ports/archivers/unrar/Makefile
miod a60af20a1f Change sprintfw() from a macro to an inline function, as g++ 2 doesn't like
variadic macros (yet gcc 2 does), and remove the no longer necessary alpha
optimization flags downgrade.
ok giovanni@ benoit@
2011-01-11 18:23:12 +00:00

40 lines
833 B
Makefile

# $OpenBSD: Makefile,v 1.51 2011/01/11 18:23:12 miod Exp $
COMMENT= extract, list, and test RAR archives
DISTNAME= unrarsrc-4.0.2
PKGNAME= unrar-4.02
REVISION= 0
CATEGORIES= archivers
HOMEPAGE= http://www.rarlab.com/
MAINTAINER= Rui Reis <rui@openbsd.org>
# Restrictive
PERMIT_PACKAGE_CDROM= no fee
PERMIT_PACKAGE_FTP= may not modify
PERMIT_DISTFILES_CDROM= no fee
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MASTER_SITES= ${HOMEPAGE}rar/
WRKDIST= ${WRKDIR}/unrar
MAKE_FILE= makefile.unix
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
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>