summaryrefslogtreecommitdiff
path: root/net/overnet/Makefile
blob: d09421aef811e3eea869c82bd87a964222ee6c09 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.13 2007/07/29 05:19:47 jlam Exp $
#

DISTNAME=	overnetclc-1.0.1
PKGNAME=	${DISTNAME:C/clc//}
PKGREVISION=	2
CATEGORIES=	net
MASTER_SITES=	http://www.zen18864.zen.co.uk/overnet/1.0.1/
DISTFILES=	${DISTNAME}-1.i386_compat.rpm

MAINTAINER=	grant@NetBSD.org
HOMEPAGE=	http://www.overnet.com/
COMMENT=	Peer-to-peer file sharing client (binary pkg)

EMUL_PLATFORMS=		linux-i386
EMUL_MODULES.linux=	compat

WRKSRC=			${WRKDIR}
BUILD_DIRS=		# empty

EMUL_PKG_FMT=		rpm
RPM2PKG_PLIST=		# empty
RPM2PKG_STRIP=		0
RUN_LDCONFIG=		no

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/overnetclc ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/overnetclc
.for f in ChangeLog LISEZMOI README
	${INSTALL_DATA} ${WRKDIR}/usr/share/doc/overnetclc/${f}		\
		${PREFIX}/share/doc/overnetclc
.endfor
	${INSTALL_DATA_DIR} ${PREFIX}/share/overnetclc
	${INSTALL_DATA} ${WRKSRC}/usr/share/overnetclc/contact.dat	\
		${PREFIX}/share/overnetclc

.include "../../mk/bsd.pkg.mk"