1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/archivers/unrar/Makefile
Kirill Ponomarev 99b04635d5 Portlint(1)
2004-12-06 11:52:33 +00:00

35 lines
740 B
Makefile

# New ports collection makefile for: unrar
# Date created: 28 Dec 1994
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= unrar
PORTVERSION= 3.43
PORTEPOCH= 3
CATEGORIES+= archivers
MASTER_SITES= http://files10.rarlab.com/rar/
DISTNAME= unrarsrc-3.4.3
MAINTAINER?= ache@FreeBSD.org
COMMENT= Extract, view & test RAR archives
WRKSRC= ${WRKDIR}/unrar
USE_GMAKE= yes
post-patch:
@${SED} -e 's|g++|${CXX}|g' -e 's|-O2|${CXXFLAGS}|g' \
${WRKSRC}/makefile.unix > ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>