summaryrefslogtreecommitdiff
path: root/net/overnet/Makefile
blob: 26421016c04af8586a5cd4c3e7838e92dcb7c7b3 (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
# $NetBSD: Makefile,v 1.4 2004/01/20 12:22:20 agc Exp $
#

DISTNAME=	overnet0.51.2
PKGNAME=	overnet-0.51.2
CATEGORIES=	net
MASTER_SITES=	http://download.overnet.com/

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

WRKSRC=		${WRKDIR}
NO_CONFIGURE=	# defined
NO_BUILD=	# defined

ONLY_FOR_PLATFORM=	Linux-*-i[3-6]86 NetBSD-*-i386

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "Linux"
DEPENDS+=	suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat
.endif

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/overnet
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/overnet
	${INSTALL_DATA_DIR} ${PREFIX}/share/overnet
	${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/overnet
	@# keep modes, as it doesn't work unless contact.dat is executable
	${CP} -p ${WRKSRC}/contact.dat ${PREFIX}/share/examples/overnet
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/overnet

.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"