summaryrefslogtreecommitdiff
path: root/games/kaid/Makefile
blob: 13e975616136332db1453033016d7595db98a9be (plain) (blame)
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
# New ports collection makefile for:	kaid
# Date created:				18 Feb 2005
# Whom:					Sebastiaan van Erk
#
# $FreeBSD$
#

PORTNAME=		kaid
PORTVERSION=		7.0.0.4b
PORTREVISION=		2
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=		build
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>