# New ports collection makefile for: OpenSLP 1.0 # Date created: 15 Sep 2001 # Whom: Joe Clarke # # $FreeBSD$ # PORTNAME= openslp PORTVERSION= 1.2.1 PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= openslp MAINTAINER= marcus@FreeBSD.org COMMENT= Open-source implementation of the Service Location Protocol USE_AUTOTOOLS= libtool:15 GNU_CONFIGURE= yes USE_OPENSSL= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/openslp \ --localstatedir=/var USE_RC_SUBR= slpd OPTIONS= SLP_SECURITY "Turn on SLPv2 security support" off \ ASYNC_API "Enable asynchronous communication API" off .include .if defined(WITH_SLP_SECURITY) CONFIGURE_ARGS+= --enable-slpv2-security .endif .if defined(WITH_ASYNC_API) CONFIGURE_ARGS+= --enable-async-api .endif 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} ${PREFIX}/etc/openslp/${FILE}.default .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} (cd ${INSTALL_WRKSRC}/doc; \ ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; ;\ ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;) .endif .include