2010-04-09 12:22:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2010/04/09 16:22:00 martin Exp $
|
2005-05-22 10:44:45 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= OLSR routing daemon
|
2005-05-22 10:44:45 -04:00
|
|
|
|
2010-04-09 12:22:00 -04:00
|
|
|
DISTNAME= olsrd-0.5.6-r8
|
2008-12-14 11:39:12 -05:00
|
|
|
PKGNAME= ${DISTNAME:S/-r/r/}
|
2005-05-22 10:44:45 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.olsr.org/
|
2008-09-04 04:52:29 -04:00
|
|
|
MASTER_SITES= http://www.olsr.org/releases/0.5/
|
2005-05-22 10:44:45 -04:00
|
|
|
|
2008-09-04 04:52:29 -04:00
|
|
|
MAINTAINER= Martin Reindl <martin@openbsd.org>
|
2005-05-22 10:44:45 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-01-21 06:34:04 -05:00
|
|
|
WANTLIB= c
|
2005-05-22 10:44:45 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2008-09-04 04:52:29 -04:00
|
|
|
BUILD_DEPENDS= ::devel/bison
|
|
|
|
|
2005-05-22 10:44:45 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/olsrd ${PREFIX}/sbin
|
|
|
|
@cd ${WRKSRC}/files && ${GUNZIP_CMD} olsrd.conf.5.gz olsrd.8.gz
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/files/olsrd.conf.5 ${PREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/files/olsrd.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/olsrd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/files/olsrd.conf.default.* \
|
|
|
|
${PREFIX}/share/examples/olsrd
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/olsrd
|
2006-01-21 06:34:04 -05:00
|
|
|
@for i in CHANGELOG README README-Link-Quality*; do \
|
2005-05-22 10:44:45 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/olsrd; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|