1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/dns/posadis/Makefile
Adam Weinberger 0921d535b3 Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while
we're here. Remove any other references to NOPORT*.

Approved by:	portmgr (blanket for modernization)
2014-07-05 00:18:17 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= posadis
PORTVERSION= 0.60.5
PORTREVISION= 5
CATEGORIES= dns ipv6
MASTER_SITES= SF/${PORTNAME}/OldFiles
MAINTAINER= ports@FreeBSD.org
COMMENT= Domain Name Server (DNS) implementation
LIB_DEPENDS= libposlib.so:${PORTSDIR}/devel/poslib
USE_AUTOTOOLS= autoconf libltdl libtool
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
CONFIGURE_ARGS= --enable-fam
BUILD_DEPENDS= ${LOCALBASE}/include/fam.h:${PORTSDIR}/devel/fam
RUN_DEPENDS= ${LOCALBASE}/bin/fam:${PORTSDIR}/devel/fam
PLIST_SUB= FAM=""
.else
CONFIGURE_ARGS= --disable-fam
PLIST_SUB= FAM="@comment "
.endif
PLIST_SUB+= VERSION="${PORTVERSION}"
MAN1= getzone.1 posadis.1 posadis-getroots.1 posask.1 poshost.1
MAN5= posadisrc.5
DOCS= AUTHORS ChangeLog README TODO
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>