# $OpenBSD: Makefile,v 1.5 2008/12/14 16:39:12 martin Exp $ COMMENT= OLSR routing daemon DISTNAME= olsrd-0.5.6-r3 PKGNAME= ${DISTNAME:S/-r/r/} CATEGORIES= net HOMEPAGE= http://www.olsr.org/ MASTER_SITES= http://www.olsr.org/releases/0.5/ MAINTAINER= Martin Reindl # BSD PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c USE_GMAKE= Yes NO_REGRESS= Yes BUILD_DEPENDS= ::devel/bison 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 @for i in CHANGELOG README README-Link-Quality*; do \ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/olsrd; \ done .include