2013-06-04 08:34:05 +02:00
|
|
|
# Created by: Joe Clarke
|
2001-09-29 07:42:30 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openslp
|
2015-09-21 01:05:14 +02:00
|
|
|
PORTVERSION= 2.0.0
|
2001-09-29 07:42:30 +02:00
|
|
|
CATEGORIES= net
|
2015-09-21 01:05:14 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/${PORTVERSION}%20Release
|
2001-09-29 07:42:30 +02:00
|
|
|
|
2002-04-06 01:26:36 +02:00
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
2003-02-26 08:31:10 +01:00
|
|
|
COMMENT= Open-source implementation of the Service Location Protocol
|
2001-09-29 07:42:30 +02:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-07-09 21:35:03 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2015-10-01 17:20:19 +02:00
|
|
|
USES= alias libtool
|
2001-09-29 07:42:30 +02:00
|
|
|
USE_OPENSSL= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-09-29 07:42:30 +02:00
|
|
|
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/openslp \
|
2002-08-07 20:29:56 +02:00
|
|
|
--localstatedir=/var
|
2005-07-05 00:23:47 +02:00
|
|
|
|
2008-10-22 02:47:12 +02:00
|
|
|
USE_RC_SUBR= slpd
|
2005-07-05 00:23:47 +02:00
|
|
|
|
2013-06-04 08:34:05 +02:00
|
|
|
OPTIONS_DEFINE= SLP_SECURITY ASYNC_API DOCS
|
|
|
|
SLP_SECURITY_DESC= Turn on SLPv2 security support
|
|
|
|
ASYNC_API_DESC= Enable asynchronous communication API
|
2005-07-05 00:23:47 +02:00
|
|
|
|
2014-11-11 23:11:55 +01:00
|
|
|
SLP_SECURITY_CONFIGURE_ENABLE= slpv2-security
|
|
|
|
ASYNC_API_CONFIGURE_ENABLE= async-api
|
2001-09-29 07:42:30 +02:00
|
|
|
|
|
|
|
post-extract:
|
2002-08-07 20:29:56 +02:00
|
|
|
@(cd ${WRKSRC}; \
|
2001-09-29 07:42:30 +02:00
|
|
|
${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
|
2014-11-11 23:11:55 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/${FILE} ${STAGEDIR}${PREFIX}/etc/openslp/${FILE}.sample
|
2001-09-29 07:42:30 +02:00
|
|
|
.endfor
|
2014-02-09 11:30:09 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-11-11 23:11:55 +01:00
|
|
|
(cd ${INSTALL_WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
2001-09-29 07:42:30 +02:00
|
|
|
|
2013-06-04 08:34:05 +02:00
|
|
|
.include <bsd.port.mk>
|