2003-04-01 04:38:25 +02:00
|
|
|
# New ports collection makefile for: posadis
|
|
|
|
# Date Created: 27 Feb 2003
|
|
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= posadis
|
2004-10-06 10:52:33 +02:00
|
|
|
PORTVERSION= 0.60.5
|
2009-08-02 21:36:34 +02:00
|
|
|
PORTREVISION= 4
|
2007-01-11 21:04:53 +01:00
|
|
|
CATEGORIES= dns ipv6
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles
|
2003-04-01 04:38:25 +02:00
|
|
|
|
2008-07-27 06:30:53 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-10-06 10:52:33 +02:00
|
|
|
COMMENT= Domain Name Server (DNS) implementation
|
2003-04-01 04:38:25 +02:00
|
|
|
|
2004-06-04 19:29:38 +02:00
|
|
|
LIB_DEPENDS= poslib.0:${PORTSDIR}/devel/poslib
|
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262 libltdl:22 libtool:22
|
- 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
|
2004-10-06 10:52:33 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2003-10-14 16:39:55 +02:00
|
|
|
|
|
|
|
.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
|
2003-10-09 14:29:20 +02:00
|
|
|
|
2003-10-14 16:39:55 +02:00
|
|
|
PLIST_SUB+= VERSION="${PORTVERSION}"
|
2003-04-01 04:38:25 +02:00
|
|
|
|
2003-10-09 14:29:20 +02:00
|
|
|
MAN1= getzone.1 posadis.1 posadis-getroots.1 posask.1 poshost.1
|
|
|
|
MAN5= posadisrc.5
|
|
|
|
DOCS= AUTHORS ChangeLog README TODO
|
2003-04-01 04:38:25 +02:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-10-09 14:29:20 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
2003-04-01 04:38:25 +02:00
|
|
|
.endif
|
|
|
|
|
2004-10-06 10:52:33 +02:00
|
|
|
.include <bsd.port.mk>
|