1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net/mpd5/Makefile
Sergey Matveychuk 749ee3c260 - Update to 5.5
* New features:
          * Added `set link redial-delay ...` command.
          * Print global filters on `show iface|customer` commands.
          * Added protocol/port forwarding support for NAT.
          * Added utmpx support on 9-CURRENT.
     * Bugfixes:
          * Fix memory leaks on pptp and radius on some reason.
          * Really make RESULT a mandatory option in ext-auth.

Submitted by:	maintainer
Feature safe:	yes
2010-02-25 12:32:38 +00:00

61 lines
1.5 KiB
Makefile

# New ports collection makefile for: mpd
# Date created: 20 Sep 2005
# Whom: Archie Cobbs
#
# $FreeBSD$
#
PORTNAME= mpd
DISTVERSION= 5.5
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
DIST_SUBDIR= mpd5
MAINTAINER= mav@FreeBSD.org
COMMENT= Multi-link PPP daemon based on netgraph(4)
LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
LATEST_LINK= mpd5
OPTIONS= NG_CAR "Use ng_car kernel module from port (< 7.0 only)" off\
NG_IPACCT "Use ng_ipacct kernel module from port" off
HAS_CONFIGURE= YES
CONFIGURE_WRKSRC= "${WRKSRC}/src"
USE_OPENSSL= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700041 && defined(WITH_NG_CAR)
BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_car.h:${PORTSDIR}/net/ng_car
.if exists(${KMODDIR}/ng_car.ko)
RUN_DEPENDS+= ${KMODDIR}/ng_car.ko:${PORTSDIR}/net/ng_car
.else
RUN_DEPENDS+= /boot/modules/ng_car.ko:${PORTSDIR}/net/ng_car
.endif
.endif
.if defined(WITH_NG_IPACCT)
BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_ipacct.h:${PORTSDIR}/net-mgmt/ng_ipacct
.if exists(${KMODDIR}/ng_ipacct.ko)
RUN_DEPENDS+= ${KMODDIR}/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct
.else
RUN_DEPENDS+= /boot/modules/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct
.endif
.endif
MAN8= mpd5.8
MANCOMPRESSED= maybe
USE_RC_SUBR= mpd5.sh
HTMLNUM!= jot 70 1
CONFSUF= conf secret script
DOCSDIR= ${PREFIX}/share/doc/mpd5
PORTDOCS= ${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README \
mpd_toc.html
PLIST_DIRS= etc/mpd5
PLIST_FILES= ${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5
.include <bsd.port.post.mk>