summaryrefslogtreecommitdiff
path: root/net/3proxy/Makefile
blob: f7f871f4104a813c3af3b7deb9c2cc20ae78112d (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
# $NetBSD: Makefile,v 1.6 2012/10/23 17:18:07 asau 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
# 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

WRKSRC=		${WRKDIR}
MAKE_FILE=	Makefile.unix

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

# 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"