1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/archivers/rar/Makefile

54 lines
1.2 KiB
Makefile
Raw Normal View History

1996-05-15 19:19:40 +00:00
# New ports collection makefile for: rar
1999-04-17 14:41:38 +00:00
# http://www.rarsoft.com/
# Version required: 2.*
1996-05-15 19:19:40 +00:00
# Date created: 15 May 1996
# Whom: ache
#
1999-08-25 04:25:23 +00:00
# $FreeBSD$
1996-05-15 19:19:40 +00:00
#
1997-05-19 19:42:43 +00:00
DISTNAME= rarbsd
1999-04-17 14:41:38 +00:00
PKGNAME= rar-2.02
CATEGORIES= archivers
1999-04-21 12:17:16 +00:00
MASTER_SITES= ftp://ftp.rarsoft.com/pub/rar/ \
ftp://ftp.cdrom.com/pub/sac/pack/
1999-04-17 14:41:38 +00:00
EXTRACT_SUFX= .sfx
1996-05-15 19:19:40 +00:00
MAINTAINER= ache@FreeBSD.org
1996-05-15 19:19:40 +00:00
CAT1= rar.1
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
1999-04-17 14:41:38 +00:00
NO_BUILD= yes
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:
1999-08-22 19:01:07 +00:00
@${CHMOD} a+x ${DISTDIR}/${DISTFILES}
1997-05-19 19:42:43 +00:00
1996-05-15 19:19:40 +00:00
do-install:
${MKDIR} ${PREFIX}/share/doc/rar ${PREFIX}/share/rar
${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin/rar
1997-05-19 19:42:43 +00:00
cd ${WRKSRC} && \
${INSTALL_MAN} Rar.Txt ${PREFIX}/man/cat1/rar.1 && \
${INSTALL_DATA} Rar_FAQ.txt TechNote.Txt License.Txt \
1999-04-17 14:41:38 +00:00
Internet.Txt \
1997-05-19 19:42:43 +00:00
${PREFIX}/share/doc/rar && \
${INSTALL_DATA} RarFiles.Lst \
${PREFIX}/share/rar/rarfiles.lst && \
1999-04-17 14:41:38 +00:00
${INSTALL_DATA} default.sfx \
${PREFIX}/share/rar && \
1997-05-19 19:42:43 +00:00
${INSTALL_DATA} Dos.SFX \
${PREFIX}/share/rar/dos.sfx
1996-05-15 19:19:40 +00:00
.include <bsd.port.post.mk>