openbsd-ports/archivers/unrar/Makefile

43 lines
913 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.39 2007/11/06 09:44:54 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
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
HOMEPAGE= http://www.rarlab.com/
1997-11-16 16:06:30 -05:00
MAINTAINER= Rui Reis <rui@rui.cx>
# 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} == "mips64"
EXTRA_CFLAGS= -O0
.endif
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>