pkgsrc-wip/olsrd/Makefile
Aleksej Saushev c0afda6803 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-10-03 21:32:45 +00:00

30 lines
709 B
Makefile

# $NetBSD: Makefile,v 1.6 2012/10/03 21:32:46 asau Exp $
#
DISTNAME= olsrd-0.6.1
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.olsr.org/releases/0.6/
MAINTAINER= khorben@defora.org
HOMEPAGE= http://www.olsr.org/
COMMENT= Ad-hoc wireless mesh routing daemon
LICENSE= modified-bsd
USE_TOOLS+= bison
USE_TOOLS+= flex
USE_TOOLS+= gmake
MAKE_FLAGS+=ETCDIR=${DESTDIR}${PREFIX}/etc
MAKE_FLAGS+=EXTRA_CPPFLAGS=-DETCDIR=\\\"${PREFIX}/etc\\\"
EGDIR= ${PREFIX}/share/examples/olsrd
CONF_FILES= ${EGDIR}/olsrd.conf ${PREFIX}/etc/olsrd.conf
INSTALLATION_DIRS= ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/files/olsrd.conf.default.lq \
${DESTDIR}${EGDIR}/olsrd.conf
.include "../../mk/bsd.pkg.mk"