1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/archivers/rar/Makefile

58 lines
1.4 KiB
Makefile
Raw Normal View History

1996-05-15 19:19:40 +00:00
# New ports collection makefile for: rar
1997-05-19 19:42:43 +00:00
# http://www.inetpros.net/rar.htm
# Version required: 2.01
1996-05-15 19:19:40 +00:00
# Date created: 15 May 1996
# Whom: ache
#
1999-04-11 10:52:53 +00:00
# $Id: Makefile,v 1.12 1999/02/03 11:11:37 asami Exp $
1996-05-15 19:19:40 +00:00
#
1997-05-19 19:42:43 +00:00
DISTNAME= rarbsd
PKGNAME= rar-2.01
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
1997-05-19 19:42:43 +00:00
EXTRACT_SUFX= .exe
1996-05-15 19:19:40 +00:00
MAINTAINER= ache@FreeBSD.ORG
1999-04-11 10:52:53 +00:00
ONLY_FOR_ARCHS= i386
1997-05-20 08:05:52 +00:00
NO_PACKAGE= Only unmodified original package can be distributed
1997-05-19 19:42:43 +00:00
NO_WRKSUBDIR= yes
EXTRACT_CMD= # empty
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty
1997-05-19 19:42:43 +00:00
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
STRIP=
.endif
1997-05-19 19:42:43 +00:00
post-fetch:
1998-12-12 16:23:37 +00:00
@chmod a+x ${DISTDIR}/${DISTFILES}
1997-05-19 19:42:43 +00:00
do-build:
cd ${WRKSRC} && \
for i in *.Txt *.Lst; do \
${TR} -d '\015' < $$i > $$i.tmp; \
${MV} $$i.tmp $$i; \
1997-05-19 19:42:43 +00:00
done
1996-05-15 19:19:40 +00:00
do-install:
1997-05-19 19:42:43 +00:00
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
1996-05-15 19:19:40 +00:00
.include <bsd.port.post.mk>