27 lines
743 B
Makefile
27 lines
743 B
Makefile
# $NetBSD: Makefile,v 1.11 2001/07/16 10:29:51 jlam Exp $
|
|
|
|
DISTNAME= unrar-2.71
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ftp://sunsite.univie.ac.at/pub/distfiles/
|
|
|
|
MAINTAINER= wiz@netbsd.org
|
|
HOMEPAGE= http://www.rarsoft.com/
|
|
COMMENT= Extract, view & test RAR archives
|
|
|
|
LICENSE= unrar-license
|
|
RESTRICTED= "Do not modify. Do not charge a fee for redistribution."
|
|
NO_SRC_ON_CDROM=${RESTRICTED}
|
|
NO_BIN_ON_CDROM=${RESTRICTED}
|
|
|
|
USE_BUILDLINK_ONLY= # defined
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${LINK.c} -o unrar -D_UNIX unrar.c
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX}/bin
|
|
cd ${WRKSRC} && ${INSTALL_MAN} readme.txt license.txt \
|
|
${PREFIX}/share/doc/unrar
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|