2007-11-06 04:44:54 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2007/11/06 09:44:54 jasper Exp $
|
2001-03-29 06:41:17 -05:00
|
|
|
|
2007-09-15 06:14:32 -04:00
|
|
|
COMMENT= extract, list, and test RAR archives
|
1997-11-16 16:06:30 -05:00
|
|
|
|
2007-09-25 15:40:57 -04:00
|
|
|
DISTNAME= unrarsrc-3.7.8
|
|
|
|
PKGNAME= unrar-3.78
|
1997-11-16 16:06:30 -05:00
|
|
|
CATEGORIES= archivers
|
2003-04-16 16:59:17 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.rarlab.com/
|
1997-11-16 16:06:30 -05:00
|
|
|
|
2005-10-06 17:55:30 -04:00
|
|
|
MAINTAINER= Rui Reis <rui@rui.cx>
|
|
|
|
|
2003-05-23 22:40:42 -04:00
|
|
|
# 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
|
2000-03-12 09:47:04 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 07:50:32 -05:00
|
|
|
WANTLIB= c m stdc++
|
2000-03-12 09:47:04 -05:00
|
|
|
|
2003-04-16 16:59:17 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}rar/
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/unrar
|
1997-11-16 16:06:30 -05:00
|
|
|
|
2003-04-16 16:59:17 -04:00
|
|
|
MAKE_FILE= makefile.unix
|
2006-01-23 19:02:07 -05:00
|
|
|
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
|
|
|
|
2007-11-06 04:44:54 -05:00
|
|
|
# gcc 3.3.5 internal compiler error
|
|
|
|
.if ${MACHINE_ARCH} == "mips64"
|
|
|
|
EXTRA_CFLAGS= -O0
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
|
|
|
|
|
1997-11-16 16:06:30 -05:00
|
|
|
do-install:
|
2003-04-16 16:59:17 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/unrar ${PREFIX}/bin
|
2000-03-26 17:40:24 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar
|
2003-04-16 16:59:17 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/readme.txt ${WRKSRC}/license.txt \
|
|
|
|
${PREFIX}/share/doc/unrar
|
1997-11-16 16:06:30 -05:00
|
|
|
|
2001-10-04 18:26:48 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1997-11-16 16:06:30 -05:00
|
|
|
.include <bsd.port.mk>
|