1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net-mgmt/send/Makefile
Chris Rees 9401b0a73a Use OSVERSION rather than slower exists check
PR:		ports/169585
Approved by:	maintainer timeout (anchie, >2w)
2012-07-17 19:36:17 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: send
# Date created: 19.09.2007
# Whom: Janos Mohacsi <mohacsi@niif.hu>
#
# $FreeBSD$
PORTNAME= send
PORTVERSION= 0.3
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= anchie
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= anchie@FreeBSD.org
COMMENT= Secure Neighbor Discovery implementation for IPv6
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
USE_GMAKE= yes
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= README UserGuide.pdf
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900042
IGNORE= is supported only on 9.0 and later
.endif
post-install:
${MKDIR} ${PREFIX}/etc/sendd/
${INSTALL_DATA} ${WRKSRC}/examples/ipext/ipext_verify.conf \
${WRKSRC}/examples/ipext/ca/ipext.conf \
${WRKSRC}/examples/
${INSTALL_DATA} ${WRKSRC}/docs/UserGuide.pdf \
${WRKSRC}/UserGuide.pdf
for F in sendd.conf params.conf ipext.conf ipext_verify.conf; do \
${INSTALL_DATA} ${WRKSRC}/examples/$$F \
${PREFIX}/etc/sendd/$${F}-dist; \
done
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>