mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
ffde46cbf9
base rcorder, hard coded variable values in these scripts are overriding the values in /etc/rc.conf[.local] (due to the way that variables from the latter are read at boot time). Therefore, change the boot scripts to set default values only if the variable is unset in /etc/rc.conf[.local]. This will allow the service to start at boot time if it's been enabled as the user would expect. This change will be a noop for users who have systems that have not yet been upgraded to the new rc.d code in the base. In many cases there are other variables in the scripts that should get similar treatment, however I did not change anything other than the _enable lines. I'll leave the rest up to the maintainers to do as they see fit. Bump PORTREVISION to make sure that users and packages pick up this change.
39 lines
876 B
Makefile
39 lines
876 B
Makefile
# New ports collection makefile for: kaid
|
|
# Date created: 18 Feb 2005
|
|
# Whom: Sebastiaan van Erk
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kaid
|
|
PORTVERSION= 7.0.0.4b
|
|
PORTREVISION= 1
|
|
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>
|