a13e234b93
- take over maintainership help and ok sthen@
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2008/09/04 08:52:29 martin Exp $
|
|
|
|
COMMENT= OLSR routing daemon
|
|
|
|
DISTNAME= olsrd-0.5.6
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.olsr.org/
|
|
MASTER_SITES= http://www.olsr.org/releases/0.5/
|
|
|
|
MAINTAINER= Martin Reindl <martin@openbsd.org>
|
|
|
|
# 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 <bsd.port.mk>
|