summaryrefslogtreecommitdiff
path: root/net/waste/Makefile
blob: 19a9e7fe7a58a7d0fb194fd95f87c82d77e50be0 (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
40
41
42
43
44
# $NetBSD: Makefile,v 1.17 2009/03/17 21:40:47 darcy Exp $
#

DISTNAME=	waste-source
PKGNAME=	waste-1.0
CATEGORIES=	net
# AOL pulled the plug on Nullsoft
# MASTER_SITES=	http://www.nullsoft.com/free/waste/
# HOMEPAGE=	http://www.nullsoft.com/free/waste/
MASTER_SITES=	http://slackerbitch.free.fr/waste/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://waste.2mbit.com/index2.html
COMMENT=	Secure file sharing network

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/waste

RESTRICTED=	Unclear legal status: AOL claims Nullsoft did not \
		release the software at all, while others regard it as \
		licensed under the GPL

NO_SRC_ON_FTP=		${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

USE_LANGUAGES=	c c++

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

.if ${OPSYS} == "DragonFly"
LDFLAGS+=	-lmd
.endif

INSTALLATION_DIRS=	sbin share/doc/waste

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wastesrv ${DESTDIR}${PREFIX}/sbin/wastesrv
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/waste

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"