53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2004/02/25 01:35:50 naddy Exp $
|
|
|
|
COMMENT= "zone transfer program from BIND v8"
|
|
|
|
VERSION= 8.4.4
|
|
PKGNAME= named-xfer-${VERSION}
|
|
DISTNAME= named-xfer-${VERSION}
|
|
CATEGORIES= net
|
|
|
|
DIST_SUBDIR= bind-${VERSION}
|
|
DISTFILES= bind-src.tar.gz bind-doc.tar.gz
|
|
|
|
MASTER_SITES+= ftp://ftp.isc.org/isc/bind/src/${VERSION}/ \
|
|
ftp://ftp.epix.net/pub/isc/bind/src/${VERSION}/ \
|
|
ftp://ftp.nominum.com/pub/isc/bind/src/${VERSION}/ \
|
|
ftp://ftp.sunet.se/pub/network/isc/bind/src/${VERSION}/ \
|
|
ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/bind/src/${VERSION}/ \
|
|
ftp://ftp.iij.ad.jp/pub/network/isc/bind/src/${VERSION}/ \
|
|
|
|
HOMEPAGE= http://www.isc.org/products/BIND/
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
SEPARATE_BUILD= simple
|
|
WRKDIST= ${WRKDIR}/src
|
|
PATCH_LIST= patch-bin_named-xfer_Makefile
|
|
|
|
#MAKE_ENV+= LDFLAGS+=-static
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}; ${MAKE_PROGRAM} DST=${WRKBUILD}/obj SRC=${WRKSRC} links
|
|
cd ${WRKBUILD}/obj; ${PATCH} < ${PATCHDIR}/patch-Makefile
|
|
|
|
do-build:
|
|
cd ${WRKBUILD}/obj; ${MAKE_PROGRAM}
|
|
cd ${WRKBUILD}/obj/bin/named; ${MAKE_PROGRAM} SYSTYPE=openbsd \
|
|
tmp_version.o db_glue.o ns_glue.o
|
|
cd ${WRKBUILD}/obj/bin/named-xfer; ${MAKE_PROGRAM} SYSTYPE=openbsd
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/obj/bin/named-xfer/named-xfer ${PREFIX}/libexec
|
|
${INSTALL_MAN} ${WRKDIR}/doc/man/named-xfer.lst8 ${PREFIX}/man/cat8/named-xfer.0
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|