openbsd-ports/archivers/unrar/Makefile
2006-12-26 20:42:38 +00:00

36 lines
785 B
Makefile

# $OpenBSD: Makefile,v 1.31 2006/12/26 20:42:38 steven Exp $
COMMENT= "extract, list, and test RAR archives"
DISTNAME= unrarsrc-3.6.8
PKGNAME= unrar-3.68p0
CATEGORIES= archivers
HOMEPAGE= http://www.rarlab.com/
MAINTAINER= Rui Reis <rui@rui.cx>
# 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}"
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>