freebsd-ports/archivers/rar/Makefile
Gabor Kovesdan 5cbdadaddc - Always install the static binary, since it runs on all supported
FreeBSD versions
- Bump PORTREVISION

Reported by:	Clint Olsen <clint@0lsen.net>, ache
Approved by:	erwin (mentor, implicit)
2007-02-25 15:21:15 +00:00

42 lines
1 KiB
Makefile

# New ports collection makefile for: rar
# Date created: 15 May 1996
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= rar
PORTVERSION= 3.70b1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://files.rarlab.com/rar/ \
http://files2.rarlab.com/rar/
DISTNAME= rarbsd-3.7.b1
MAINTAINER= gabor@FreeBSD.org
COMMENT= File archiver (binary port)
IA32_BINARY_PORT= YES
RESTRICTED= only unmodified original package can be distributed
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rar
PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1
PORTDOCS= technote.txt license.txt whatsnew.txt order.htm \
readme.txt file_id.diz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${PREFIX}/bin/rar
${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/default.sfx ${PREFIX}/lib
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>