2005-09-20 21:31:01 +02:00
|
|
|
# New ports collection makefile for: mpd
|
|
|
|
# Date created: 20 Sep 2005
|
|
|
|
# Whom: Archie Cobbs
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2007-02-07 09:16:53 +01:00
|
|
|
PORTNAME= mpd
|
2008-10-01 22:36:24 +02:00
|
|
|
DISTVERSION= 5.2
|
2005-09-20 21:31:01 +02:00
|
|
|
CATEGORIES= net
|
2007-02-07 09:16:53 +01:00
|
|
|
MASTER_SITES= SF
|
|
|
|
MASTER_SITE_SUBDIR= mpd
|
2007-10-24 15:31:37 +02:00
|
|
|
DIST_SUBDIR= mpd5
|
2005-09-20 21:31:01 +02:00
|
|
|
|
2007-07-06 09:35:54 +02:00
|
|
|
MAINTAINER= mav@FreeBSD.org
|
2007-02-12 08:57:25 +01:00
|
|
|
COMMENT= Multi-link PPP daemon based on netgraph(4)
|
2005-09-20 21:31:01 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
|
|
|
|
|
2007-10-24 15:31:37 +02:00
|
|
|
LATEST_LINK= mpd5
|
2007-08-29 13:45:09 +02:00
|
|
|
|
|
|
|
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
|
2007-06-26 16:39:28 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-08-29 13:45:09 +02:00
|
|
|
.if ${OSVERSION} < 700041 && defined(WITH_NG_CAR)
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_car.h:${PORTSDIR}/net/ng_car
|
2007-07-06 09:35:54 +02:00
|
|
|
.if exists(${KMODDIR}/ng_car.ko)
|
2007-08-29 13:45:09 +02:00
|
|
|
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
|
2007-07-06 09:35:54 +02:00
|
|
|
.else
|
2007-08-29 13:45:09 +02:00
|
|
|
RUN_DEPENDS+= /boot/modules/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct
|
2007-07-06 09:35:54 +02:00
|
|
|
.endif
|
2007-06-26 16:39:28 +02:00
|
|
|
.endif
|
|
|
|
|
2007-10-24 15:31:37 +02:00
|
|
|
MAN8= mpd5.8
|
2005-09-20 21:31:01 +02:00
|
|
|
MANCOMPRESSED= maybe
|
2007-10-24 15:31:37 +02:00
|
|
|
USE_RC_SUBR= mpd5.sh
|
2007-12-19 13:14:36 +01:00
|
|
|
HTMLNUM!= jot 69 1
|
2007-10-24 15:31:37 +02:00
|
|
|
CONFSUF= conf secret script
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/mpd5
|
2006-10-31 21:37:56 +01:00
|
|
|
PORTDOCS= ${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README \
|
|
|
|
mpd_toc.html
|
2007-10-24 15:31:37 +02:00
|
|
|
PLIST_DIRS= etc/mpd5
|
|
|
|
PLIST_FILES= ${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5
|
2005-09-20 21:31:01 +02:00
|
|
|
|
2007-06-26 16:39:28 +02:00
|
|
|
.include <bsd.port.post.mk>
|