mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
5c685f8742
Using the ports version requires setting a special make flag. PR: ports/56364 PR: ports/61546
39 lines
785 B
Makefile
39 lines
785 B
Makefile
# New ports collection makefile for: mpd
|
|
# Date created: 25 Feb 1999
|
|
# Whom: Archie Cobbs
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mpd
|
|
PORTVERSION= 3.18
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= archie
|
|
DIST_SUBDIR= mpd
|
|
|
|
MAINTAINER= archie@freebsd.org
|
|
COMMENT= Multi-link PPP daemon based on netgraph(4)
|
|
|
|
MTREE_FILE= ${FILESDIR}/mpd.mtree
|
|
MAN8= mpd.8
|
|
MANCOMPRESSED= maybe
|
|
|
|
.if defined(WITH_OPENSSL_PORT)
|
|
USE_OPENSSL_PORT=yes
|
|
MAKE_ENV= COPTS=-I${OPENSSLINC} LDADD=-L${OPENSSLLIB}
|
|
.else
|
|
USE_OPENSSL_BASE=yes
|
|
MAKE_ENV= COPTS=-I${OPENSSLINC}
|
|
.endif
|
|
|
|
pre-build:
|
|
@${ECHO}
|
|
@${ECHO} "Use WITH_OPENSSL_PORT=yes if you use OPENSSL from ports"
|
|
@${ECHO}
|
|
|
|
post-install:
|
|
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/mpd.sh ${PREFIX}/etc/rc.d/mpd.sh.sample
|
|
|
|
.include <bsd.port.mk>
|