mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
9250d94365
It brings bison as a build dependency in case it is set the following way: USES= bison or USES= bison:build it brings bison as a run dependency in case it is set the following way: USES= bison:run it brings bison both as a run and build dependency in case it the set the following way: USES= bison:both While here trim some headers Convert some USE_GNOME= gnomehack to USES= pathfix
35 lines
802 B
Makefile
35 lines
802 B
Makefile
# Created by: Sebastiaan van Erk
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kaid
|
|
PORTVERSION= 7.0.0.4b
|
|
PORTREVISION= 3
|
|
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
|
|
USES= bison
|
|
USE_ZIP= yes
|
|
CC= gcc
|
|
CPP= g++
|
|
MAKE_ARGS= PREFIX="${PREFIX}" SYSTEM_CFLAGS="${CFLAGS}"
|
|
|
|
NO_PACKAGE= contains compile time path info, ignores cc cxx
|
|
|
|
pre-configure:
|
|
@${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>
|