openbsd-ports/archivers/rar/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

1998-07-13 01:13:16 -04:00
# New ports collection makefile for: rar
# Version required: 2.02
# Date created: 8 Jul 1998
# Whom: form
#
1998-09-06 01:47:32 -04:00
# $OpenBSD: Makefile,v 1.6 1998/09/06 05:47:32 marc Exp $
1998-07-13 01:13:16 -04:00
#
DISTNAME= rarbsd
PKGNAME= rar-2.02
CATEGORIES= archivers
1998-09-06 01:47:32 -04:00
MASTER_SITES= ftp://ftp.creabel.com/pub/rar/
1998-07-13 01:13:16 -04:00
EXTRACT_SUFX=
ONLY_FOR_ARCHS= i386
MAINTAINER= form@vs.itam.nsc.ru
NO_PACKAGE= Only unmodified original package can be distributed
NO_WRKSUBDIR= yes
EXTRACT_CMD=
EXTRACT_BEFORE_ARGS=
pre-extract:
chmod a+x ${DISTDIR}/${DISTFILES}
post-extract:
chmod a-x ${DISTDIR}/${DISTFILES}
do-build:
cd ${WRKSRC} && \
for i in *.Txt *.Lst; do \
${TR} -d '\015' < $$i > $$i.tmp; \
${MV} $$i.tmp $$i; \
done
do-install:
install -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
${PREFIX}/share/doc/rar ${PREFIX}/share/rar
cd ${WRKSRC} && \
${INSTALL_PROGRAM} rar ${PREFIX}/bin/rar && \
${INSTALL_MAN} Rar.Txt ${PREFIX}/man/cat1/rar.1 && \
${INSTALL_MAN} Rar_FAQ.txt TechNote.Txt License.Txt Internet.Txt \
${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 <bsd.port.mk>