mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
# New ports collection makefile for: rar
|
|
# Date created: 15 May 1996
|
|
# Whom: ache
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rar
|
|
PORTVERSION= 3.60
|
|
PORTEPOCH= 1
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://files.rarlab.com/rar/ \
|
|
http://files2.rarlab.com/rar/
|
|
DISTNAME= rarbsd-3.6.0
|
|
|
|
MAINTAINER= gkovesdan@t-hosting.hu
|
|
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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 503000
|
|
IGNORE= is unsupported on versions prior to FreeBSD 5.3
|
|
.endif
|
|
|
|
.if ${OSVERSION} >= 600000
|
|
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
|
|
.endif
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
STRIP=
|
|
.endif
|
|
|
|
do-install:
|
|
.if !defined(WITH_STATIC)
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rar ${TARGETDIR}/bin/rar
|
|
.else
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${TARGETDIR}/bin/rar
|
|
.endif
|
|
${INSTALL_MAN} ${WRKSRC}/rar.txt ${TARGETDIR}/man/cat1/rar.1
|
|
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${TARGETDIR}/etc
|
|
${INSTALL_DATA} ${WRKSRC}/default.sfx ${TARGETDIR}/lib
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|