summaryrefslogtreecommitdiff
path: root/net/3proxy/Makefile
blob: d72711fc26726a08f7f0a8c2fcce54f3ba127171 (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.4 2008/06/12 02:14:38 joerg Exp $
#

DISTNAME=	3proxy-0.5.3k
PKGNAME=	${DISTNAME:C/k$/.11/}
PKGREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://3proxy.ru/${DISTNAME:S/3proxy-//}/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://3proxy.ru/
COMMENT=	Multi-protocol proxy

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}
MAKE_FILE=	Makefile.unix

INSTALLATION_DIRS=	sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8

# 3proxy-0.5.* is dual-licenced under GPL or custom terms.  It's not
# clear exactly which version of the GPL is intended; ${WRKSRC}/License
# says "current version of GNU GPL" without specifying a numeric version
# number.  3proxy-0.6.* will have a different license.
LICENSE=	3proxy-0.5-license

# We install only 3proxy and its man pages.  There are several other
# binaries which we don't install, because the 3proxy executable
# provides a superset of the functionality of the others.  We also don't
# install the HTML pages, because they provide no more information than
# the man pages.
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/3proxy ${DESTDIR}${PREFIX}/sbin/.
	${INSTALL_MAN} ${WRKSRC}/man/3proxy.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/.
	${INSTALL_MAN} ${WRKSRC}/man/3proxy.cfg.3 \
			${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/3proxy.cfg.5

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