1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net/mpd5/Makefile
Jimmy Olgeni ced6b00939 Tiny fixes for the mpd5 package.
- Use PLIST_DIRSTRY to avoid warnings when deinstalling.

- Set PROVIDE to mpd5 in startup script (it currently confuses
  bsdadminscripts' commands)

PR:		186531
Submitted by:	olgeni
Approved by:	maintainer timeout (120 days)
2014-06-07 17:32:04 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Archie Cobbs
# $FreeBSD$
PORTNAME= mpd
PORTREVISION= 1
DISTVERSION= 5.7
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
PKGNAMESUFFIX= 5
DIST_SUBDIR= mpd5
MAINTAINER= mav@FreeBSD.org
COMMENT= Multi-link PPP daemon based on netgraph(4)
OPTIONS_DEFINE= NG_IPACCT
NG_IPACCT_DESC= Use ng_ipacct kernel module from port
HAS_CONFIGURE= YES
CONFIGURE_WRKSRC= "${WRKSRC}/src"
USE_OPENSSL= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNG_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
MANCOMPRESSED= maybe
USE_RC_SUBR= mpd5
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_DIRSTRY= etc/mpd5
PLIST_FILES= ${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5
.if !defined(WITHOUT_MAN)
PLIST_FILES+= man/man8/mpd5.8.gz
.endif
.include <bsd.port.mk>