# Created by: Sergei Kolobov # $FreeBSD$ PORTNAME= ipsvd PORTVERSION= 1.0.0 CATEGORIES= net MASTER_SITES= http://smarden.org/ipsvd/ MAINTAINER= ports@FreeBSD.org COMMENT= Internet protocol service daemons WRKSRC= ${WRKDIR}/net/${DISTNAME} ALL_TARGET= default DOCS= package/CHANGES package/COPYING package/README doc/*.html OPTIONS_DEFINE= DOCS do-configure: @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc @${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/conf-ld @${ECHO_CMD} "${LOCALBASE}/include/libdjbdns" \ > ${WRKSRC}/src/conf-djbdnsinc @${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/src/conf-djbdnslib do-build: cd ${WRKSRC} && package/compile && package/check do-install: ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/sbin .for n in 5 7 8 ${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${STAGEDIR}${MANPREFIX}/man/man${n} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) .include