~cypheon/pkgsrc-wip

pkgsrc-wip/opendchub/Makefile -rw-r--r-- 1.2 KiB
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
# $NetBSD: Makefile,v 1.5 2012/10/03 21:32:47 asau Exp $
#

DISTNAME=		opendchub-0.7.15
CATEGORIES=		net
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=opendchub/}
LICENSE=		gnu-gpl-v2

MAINTAINER=		dhowland@users.sourceforge.net
HOMEPAGE=		http://opendchub.sourceforge.net/
COMMENT=		Open source Direct Connect hub software

GNU_CONFIGURE=		yes
# only works for systems with cap_set_proc() support
CONFIGURE_ARGS+=	--enable-switch_user

USE_TOOLS+=		gmake perl

EGDIR=			${PREFIX}/share/examples/${PKGBASE}
DOCDIR=			${PREFIX}/share/doc/${PKGBASE}

INSTALLATION_DIRS+=	share/examples share/doc

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/Samplescripts/functestbot.plz \
		${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/Samplescripts/subtestbot.plz \
		${DESTDIR}${EGDIR}
	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR:Q}
	${INSTALL_DATA} ${WRKSRC}/Documentation/configfiles \
		${DESTDIR}${DOCDIR:Q}
	${INSTALL_DATA} ${WRKSRC}/Documentation/general \
		${DESTDIR}${DOCDIR:Q}
	${INSTALL_DATA} ${WRKSRC}/Documentation/scriptdoc \
		${DESTDIR}${DOCDIR:Q}

.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.pkg.mk"