Files
ports/net/openslp/Makefile
T
Jason E. Hale 14f7c29430 */*: De-orbit alias.mk
Mk/Uses/alias.mk was an attempt for compat with DPorts, but has rotted.
This feature was never documented in the PHB, so there is no work to
be done by the docs@ team.

Nothing against DragonFly, but if DPorts still needs FreeBSD 9
support, they really should work that out with upstream projects.

Ultimately, we don't need to keep carrying this outdated feature that
doesn't affect us.
2025-12-30 07:00:05 -05:00

41 lines
1.1 KiB
Makefile

PORTNAME= openslp
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/${PORTVERSION}%20Release
MAINTAINER= marcus@FreeBSD.org
COMMENT= Open-source implementation of the Service Location Protocol
WWW= http://www.openslp.org/
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= cpe libtool ssl
USE_LDCONFIG= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/openslp \
--localstatedir=/var
CPPFLAGS+= -DHAVE_STRNCASECMP
USE_RC_SUBR= slpd
OPTIONS_DEFINE= SLP_SECURITY ASYNC_API DOCS
SLP_SECURITY_DESC= Turn on SLPv2 security support
ASYNC_API_DESC= Enable asynchronous communication API
SLP_SECURITY_CONFIGURE_ENABLE= slpv2-security
ASYNC_API_CONFIGURE_ENABLE= async-api
post-extract:
@(cd ${WRKSRC}; \
${FIND} doc -type f -path '*/CVS/*' -delete; \
${FIND} doc -type d -name CVS -delete)
post-install:
.for FILE in slp.conf slp.reg slp.spi
${INSTALL_DATA} ${WRKSRC}/etc/${FILE} ${STAGEDIR}${PREFIX}/etc/openslp/${FILE}.sample
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${INSTALL_WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>