pkgsrc/archivers/rar/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

1999-05-22 23:47:01 +02:00
# $NetBSD: Makefile,v 1.15 1999/05/22 21:47:01 tv Exp $
1997-10-27 04:22:00 +01:00
# FreeBSD Id: Makefile,v 1.7 1997/08/10 22:31:27 fenner Exp
1997-10-27 03:18:56 +01:00
#
DISTNAME= rarbsd
PKGNAME= rar-2.01
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.inetpros.net/pub/rar/ \
ftp://ftp.kiarchive.ru/pub/unix/arcers/
EXTRACT_SUFX= .exe
1998-01-24 04:20:01 +01:00
ONLY_FOR_ARCHS= i386
ONLY_FOR_OPSYS= NetBSD
1997-10-27 03:18:56 +01:00
MAINTAINER= packages@netbsd.org
1997-10-27 03:18:56 +01:00
NO_PACKAGE= Only unmodified original package can be distributed
NO_WRKSUBDIR= yes
1999-05-22 23:47:01 +02:00
EXTRACT_CMD= ${DOWNLOADED_DISTFILE} >/dev/null
1997-10-27 03:18:56 +01:00
1997-12-19 10:11:28 +01:00
pre-extract:
1999-05-22 23:47:01 +02:00
@${CHMOD} a+x ${DISTDIR}/${DISTFILES}
1997-10-27 03:18:56 +01:00
do-build:
cd ${WRKSRC} && \
for i in *.Txt *.Lst; do \
${TR} -d '\015' < $$i > $$i.tmp; \
${MV} $$i.tmp $$i; \
1997-10-27 03:18:56 +01:00
done
do-install:
1998-03-07 22:23:51 +01:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rar ${PREFIX}/share/rar
1997-10-27 03:18:56 +01:00
cd ${WRKSRC} && \
${INSTALL_SCRIPT} RAR ${PREFIX}/bin/rar && \
${INSTALL_MAN} Rar.Txt Rar_FAQ.Txt TechNote.Txt License.Txt Internet.Txt \
1997-10-27 03:18:56 +01:00
${PREFIX}/share/doc/rar && \
${INSTALL_DATA} RarFiles.Lst \
${PREFIX}/share/rar/rarfiles.lst && \
${INSTALL_DATA} DEFAULT.SFX \
${PREFIX}/share/rar/default.sfx && \
${INSTALL_DATA} Dos.SFX \
${PREFIX}/share/rar/dos.sfx
.include "../../mk/bsd.pkg.mk"