openbsd-ports/archivers/unrar/Makefile

29 lines
661 B
Makefile

# $OpenBSD: Makefile,v 1.9 2000/03/12 14:47:04 turan Exp $
DISTNAME= unrar-2.50
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
NEED_VERSION= 1.191
MAINTAINER= ports@openbsd.org
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= "may not modify"
PERMIT_DISTFILES_CDROM= "no fee"
PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}
do-build:
@cd ${WRKSRC} && \
${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar
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 <bsd.port.mk>