summaryrefslogtreecommitdiff
path: root/archivers/rar/Makefile.linux-i386
blob: a0473c13adcd5488332d3423c1ebce3a1b0d5676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile.linux-i386,v 1.2 2009/02/09 23:33:27 joerg Exp $

DISTNAME=		rarlinux-3.6.0
PKGNAME=		${DISTNAME:S/linux//}
MASTER_SITES=		http://www.rarsoft.com/rar/ \
			ftp://ftp.rarsoft.com/rar/

CONFLICTS=		rarlinux-[0-9]* rar-linux-[0-9]*

EMUL_MODULES.linux=	base compat

WRKSRC=			${WRKDIR}/rar
BUILD_DIRS=		# empty

DATADIR=		${PREFIX}/lib
DOCDIR=			${PREFIX}/share/doc/rar

INSTALLATION_DIRS=	bin lib ${DATADIR} ${DOCDIR}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${DESTDIR}${PREFIX}/bin/rar
	${INSTALL_DATA} ${WRKSRC}/default.sfx ${DESTDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${DESTDIR}${DOCDIR}