# New ports collection makefile for: mpd-l2tp-ipv6pd-client # Date created: Nov 2 2006 # Whom: Hajimu UMEMOTO # # $FreeBSD$ # PORTNAME= mpd-l2tp-ipv6pd-client PORTVERSION= 20081105 #PORTREVISION= 0 CATEGORIES= net ipv6 MASTER_SITES= # none DISTFILES= # none MAINTAINER= ume@FreeBSD.org COMMENT= A sample implementaiton set of "L2TP-IPv6PD" client using mpd MANUAL_PACKAGE_BUILD=yes NO_PACKAGE= yes USE_RC_SUBR= yes OPTIONS= MPD4 "Use mpd4" off \ MPD5 "Use mpd5" on .include .if defined(WITH_MPD5) && defined(WITH_MPD4) BROKEN= Multiple mpd versions selected. Run 'make config' again! .endif .if defined(WITH_MPD4) MPD_NAME= mpd4 MPD4= "" .else MPD_NAME= mpd5 MPD4= "@comment " .endif BUILD_DEPENDS= ${MPD_NAME}:${PORTSDIR}/net/${MPD_NAME} RUN_DEPENDS= dhcp6ctl:${PORTSDIR}/net/dhcp6 \ ${MPD_NAME}:${PORTSDIR}/net/${MPD_NAME} CONF_DIR?= etc/${MPD_NAME} CONF_FILES= dhcp6c.conf.in rtadvd.conf SCRIPT_FILES= dhcp6c_pd.sh linkdown.sh linkup.sh SECRET_FILES= mpd.secret SCRIPTS_ENV= WRKDIR="${WRKDIR}" \ SCRIPTDIR="${SCRIPTDIR}" \ PREFIX="${PREFIX}" \ CONF_DIR="${CONF_DIR}" \ MPD_NAME="${MPD_NAME}" \ RC_SUBR="${RC_SUBR}" \ CAT="${CAT}" \ CP="${CP}" \ DIALOG="${DIALOG}" \ MD5="${MD5}" \ MKTEMP="${MKTEMP}" \ RM="${RM}" \ SED="${SED}" \ WHICH="${WHICH}" PLIST_SUB= CONF_DIR=${CONF_DIR} \ MPD_NAME=${MPD_NAME} \ MPD4=${MPD4} PKGMESSAGE= ${WRKDIR}/pkg-message .if ${OSVERSION} < 602106 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700031) IGNORE= does not work with old ng_ksocket .endif do-build: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/setting @${DIALOG} --clear do-install: @if [ -f ${PREFIX}/${CONF_DIR}/mpd.conf -o \ -f ${PREFIX}/${CONF_DIR}/mpd.links -o \ -f ${PREFIX}/${CONF_DIR}/mpd.secret ]; then \ ${ECHO_CMD} "There are ${MPD_NAME} configuration files already"; \ ${ECHO_CMD} "Pleae remove at least following files before install:"; \ ${ECHO_CMD} " ${PREFIX}/${CONF_DIR}/mpd.conf"; \ ${ECHO_CMD} " ${PREFIX}/${CONF_DIR}/mpd.links"; \ ${ECHO_CMD} " ${PREFIX}/${CONF_DIR}/mpd.secret"; \ exit 1; \ fi @${MKDIR} ${PREFIX}/${CONF_DIR} .if defined(WITH_MPD4) @${INSTALL_DATA} ${WRKDIR}/mpd.conf ${PREFIX}/${CONF_DIR}/mpd.conf @${INSTALL_DATA} ${WRKDIR}/mpd.links ${PREFIX}/${CONF_DIR}/mpd.links .else @${INSTALL_DATA} ${WRKDIR}/mpd5.conf ${PREFIX}/${CONF_DIR}/mpd.conf .endif .for f in ${CONF_FILES} @${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/${CONF_DIR}/${f} .endfor @${INSTALL_DATA} ${WRKDIR}/mpd ${PREFIX}/${CONF_DIR}/${MPD_NAME} .for f in ${SCRIPT_FILES} @${INSTALL_SCRIPT} ${WRKDIR}/${f} ${PREFIX}/${CONF_DIR}/${f} .endfor .for f in ${SECRET_FILES} @${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m 400 \ ${WRKDIR}/${f} ${PREFIX}/${CONF_DIR}/${f} .endfor @${CAT} ${PKGMESSAGE} .include >dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-2/+2
* - Add SHA256pav2005-11-261-0/+1
* - Mark ports BROKEN when/if they depend on mod_perl2.sem2005-05-181-0/+1
* - fix depends pathclsung2004-10-281-1/+1
* - fix unfetchable.clsung2004-10-241-1/+1
* - update to 1.00clsung2004-10-234-6/+109
* SIZEify.trevor2004-01-301-0/+1
* Remove the recursive assignment of SITE_PERL to ${SITE_PERL} introducederwin2003-10-241-1/+0
* utilize SITE_PERLijliao2003-10-24