a60af20a1f
variadic macros (yet gcc 2 does), and remove the no longer necessary alpha optimization flags downgrade. ok giovanni@ benoit@
40 lines
833 B
Makefile
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>
|