mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
d863a786a6
- Fix compatibility with FreeBSD 5.x - Install a kernel module in /boot/modules - Fix possible races with ldconfig in rc.d script - Change a maintainer email on @FreeBSD.org one Submitted by: mav
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection makefile for: mpd
|
|
# Date created: 20 Sep 2005
|
|
# Whom: Archie Cobbs
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mpd
|
|
DISTVERSION= 4.2.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= mpd
|
|
DIST_SUBDIR= mpd4
|
|
|
|
MAINTAINER= mav@FreeBSD.org
|
|
COMMENT= Multi-link PPP daemon based on netgraph(4)
|
|
|
|
LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
|
|
|
|
LATEST_LINK= mpd4
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700041
|
|
BUILD_DEPENDS= /usr/local/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
|
|
|
|
MTREE_FILE= ${FILESDIR}/mpd4.mtree
|
|
MAN8= mpd4.8
|
|
MANCOMPRESSED= maybe
|
|
USE_RC_SUBR= mpd4.sh
|
|
HTMLNUM!= jot 67 1
|
|
CONFSUF= conf links secret script
|
|
DOCSDIR= ${TARGETDIR}/share/doc/mpd4
|
|
PORTDOCS= ${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README \
|
|
mpd_toc.html
|
|
PLIST_DIRS= etc/mpd4
|
|
PLIST_FILES= ${CONFSUF:S/^/etc\/mpd4\/mpd./:S/$/.sample/} sbin/mpd4
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
.include <bsd.port.post.mk>
|