USE_TOOLS and any of "autoconf", "autoconf213", "automake" or "automake14". Also, we don't need to call the auto* tools via ${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care to symlink the correct tool to the correct name, so we can just use aclocal, autoconf, etc.
67 lines
1.4 KiB
Makefile
67 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2005/06/01 20:08:01 jlam Exp $
|
|
|
|
DISTNAME= irrd2.2.3
|
|
PKGNAME= irrd-2.2.3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.irrd.net/ \
|
|
ftp://ftp.merit.edu/radb/irrd/ \
|
|
ftp://ftp.merit.edu/radb/irrd/old_releases/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= kim@tac.nyc.ny.us
|
|
HOMEPAGE= http://www.irrd.net/
|
|
COMMENT= Internet Routing Registry Daemon
|
|
|
|
DEPENDS+= gnupg-[0-9]*:../../security/gnupg
|
|
DEPENDS+= wget-[0-9]*:../../net/wget
|
|
|
|
USE_PERL5= # defined
|
|
USE_TOOLS+= automake
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
#PTHREAD_AUTO_VARS= yes
|
|
#PTHREAD_OPTS+= require
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-thread
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
CFLAGS+= -g
|
|
|
|
IRRD_CACHER= irrdcacher ripe2rpsl
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && aclocal && autoheader && autoconf
|
|
|
|
post-build:
|
|
@cd ${WRKSRC}/programs/irrdcacher ; \
|
|
set -x ; \
|
|
for i in ${IRRD_CACHER} ; \
|
|
do \
|
|
${MV} $$i $$i.bak ; \
|
|
${SED} -e 's,/usr/bin/perl,${PERL5},' < $$i.bak > $$i ; \
|
|
done
|
|
|
|
post-install:
|
|
@cd ${WRKSRC}/programs/IRRd && ${MAKE} install-man
|
|
@cd ${WRKSRC}/programs/irrdcacher ; \
|
|
set -x ; \
|
|
for i in ${IRRD_CACHER} ; \
|
|
do \
|
|
${INSTALL_SCRIPT} $$i ${PREFIX}/sbin ; \
|
|
done
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == "YES"
|
|
# default
|
|
# CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
#.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|