summaryrefslogtreecommitdiffstats
path: root/games/kaid/Makefile
blob: 6408e2e6c84b11b81dc86967e395a6545bb9dd7e (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
# New ports collection makefile for:	kaid
# Date created:				18 Feb 2005
# Whom:					Sebastiaan van Erk
#
# $FreeBSD$
#

PORTNAME=		kaid
PORTVERSION=		7.0.0.4b
CATEGORIES=		games net
MASTER_SITES=		http://www.teamxlink.co.uk/binary/
MASTER_SITE_SUBDIR=
DISTNAME=		${PORTNAME}_tree_${PORTVERSION}
EXTRACT_SUFX=		.zip

MAINTAINER=		sebster-kaid@sebster.com
COMMENT=		XLink Kai tunneling server

NO_WRKSUBDIR=		yes
USE_GMAKE=		yes
USE_BISON=		yes
USE_ZIP=		yes
CC=			gcc
CPP=			g++
MAKE_ARGS=		PREFIX="${PREFIX}" SYSTEM_CFLAGS="${CFLAGS}"

NO_PACKAGE=		contains compile time path info, ignores cc cxx

post-patch:
	@${GMAKE} -C ${WRKSRC} dist-clean

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/kaid ${PREFIX}/sbin
	${INSTALL_DATA} ${WRKSRC}/kaid.conf ${PREFIX}/etc/kaid.conf.sample
	${INSTALL_SCRIPT} ${FILESDIR}/kaid.sh ${PREFIX}/etc/rc.d

.include <bsd.port.mk>
OpenPOWER on IntegriCloud