1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/mpd5/Makefile
Eugene Grosbein 64005d0744 net/mpd5: remove BROKEN_SSL*
For now, BROKERNL_SSL* is designed for port that defines GNU_CONFIGURE
and USES=pkgconfig to get libssl's include and library paths by means
of pkg-config --cflags/--libs or just use CFLAGS etc. including ${LOCALBASE}

net/mpd5 does not use pkgconfig nor GNU configure and since last update
it forces usage of system libssl despite of presence of other *SSL packages,
so BROKEN_SSL* is unneeded and does only harm here.
2018-11-25 12:09:27 +00:00

52 lines
1.1 KiB
Makefile

# Created by: Archie Cobbs
# $FreeBSD$
PORTNAME= mpd
DISTVERSION= 5.8
PORTREVISION= 10
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
PKGNAMESUFFIX= 5
DIST_SUBDIR= mpd5
MAINTAINER= eugen@FreeBSD.org
COMMENT= Multi-link PPP daemon based on netgraph(4)
LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= DOCS NG_IPACCT
NG_IPACCT_DESC= Use ng_ipacct kernel module from port
HAS_CONFIGURE= YES
CONFIGURE_WRKSRC= "${WRKSRC}/src"
USES= ssl
.include <bsd.port.options.mk>
MAKE_ARGS+= OSVERSION=${OSVERSION}
.if ${PORT_OPTIONS:MNG_IPACCT}
BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_ipacct.h:net-mgmt/ng_ipacct
.if exists(${KMODDIR}/ng_ipacct.ko)
RUN_DEPENDS+= ${KMODDIR}/ng_ipacct.ko:net-mgmt/ng_ipacct
.else
RUN_DEPENDS+= /boot/modules/ng_ipacct.ko:net-mgmt/ng_ipacct
.endif
.else
CONFIGURE_ENV+= USE_NG_IPACCT=no
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-no-ng_ipacct
.endif
USE_RC_SUBR= mpd5
CONFSUF= conf secret script
DOCSDIR= ${PREFIX}/share/doc/mpd5
PORTDOCS= README mpd*
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>