freebsd-ports/archivers/rar/Makefile
2003-10-26 22:52:23 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: rar
# Date created: 15 May 1996
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= rar
PORTVERSION= 3.20
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
DISTNAME= rarbsd-3.2.0
MAINTAINER= ache@FreeBSD.org
COMMENT= File archiver (binary port)
CAT1= rar.1
FETCH_CMD= /usr/bin/fetch
ONLY_FOR_ARCHS= i386
NO_PACKAGE= Only unmodified original package can be distributed
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rar
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
STRIP=
.endif
do-install:
${MKDIR} ${PREFIX}/share/doc/rar
${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin/rar
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin/unrar
cd ${WRKSRC} && \
${INSTALL_MAN} rar.txt ${PREFIX}/man/cat1/rar.1 && \
${INSTALL_DATA} rar_faq.txt technote.txt license.txt \
rar_site.txt register.txt order.txt \
readme.txt rereg.txt whatsnew.txt \
file_id.diz \
${PREFIX}/share/doc/rar && \
${INSTALL_DATA} rarfiles.lst \
${PREFIX}/etc && \
${INSTALL_DATA} default.sfx \
${PREFIX}/lib
.include <bsd.port.post.mk>