27 lines
641 B
Makefile
27 lines
641 B
Makefile
# OpenBSD makefile for: unrar
|
|
# Version required: 2.01
|
|
# Date created: 16 Nov 1997
|
|
# Whom: ejovi
|
|
|
|
DISTNAME= unrar-2.01
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ejovi@OpenBSD.ORG
|
|
|
|
NO_WRKSUBDIR= Yes
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar
|
|
|
|
do-install:
|
|
install -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
|
|
${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>
|