openbsd-ports/archivers/unrar/Makefile

43 lines
918 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.48 2010/05/22 07:44:29 jasper Exp $
2007-09-15 06:14:32 -04:00
COMMENT= extract, list, and test RAR archives
1997-11-16 16:06:30 -05:00
2009-12-19 17:34:58 -05:00
DISTNAME= unrarsrc-3.9.7
PKGNAME= unrar-3.97p0
1997-11-16 16:06:30 -05:00
CATEGORIES= archivers
HOMEPAGE= http://www.rarlab.com/
1997-11-16 16:06:30 -05:00
2008-02-14 16:36:27 -05:00
MAINTAINER= Rui Reis <rui@openbsd.org>
# Restrictive
2007-09-15 06:14:32 -04:00
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
1997-11-16 16:06:30 -05:00
MAKE_FILE= makefile.unix
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
# gcc 3.3.5 internal compiler error
.if ${MACHINE_ARCH} == "alpha"
EXTRA_CFLAGS= -O0
.endif
2009-09-11 12:14:01 -04:00
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
1997-11-16 16:06:30 -05:00
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/unrar ${PREFIX}/bin
2000-03-26 17:40:24 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar
${INSTALL_MAN} ${WRKSRC}/readme.txt ${WRKSRC}/license.txt \
${PREFIX}/share/doc/unrar
1997-11-16 16:06:30 -05:00
NO_REGRESS= Yes
1997-11-16 16:06:30 -05:00
.include <bsd.port.mk>