b15254402b
A big Thank You to the original contributors of these ports: * ABURAYER Rewsirow <rewsirow@ff.iij4u.or.jp> * Alexander Leidinger * Alexey Dokuchaev <danfe@FreeBSD.org> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrey Zakhvatov * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@tobez.org> * Anton Karpov <toxa@toxahost.ru> * Brion Moss <brion@queeg.com> * Bruce M Simpson <bms@FreeBSD.org> * Chris Piazza <cpiazza@FreeBSD.org> * Christian Brueffer <chris@unixpages.org> * David Wolfskill * Frank W. Josellis <frank@dynamical-systems.org> * Gea-Suan Lin <gslin@gslin.org> * Gleb Smirnoff <glebius@FreeBSD.org> * Hye-Shik Chang <perky@fallin.lv> * Jan Srzednicki <w@wrzask.pl> * Jean-Yves Lefort <jylefort@FreeBSD.org> * Jean-Yves Lefort <jylefort@brutele.be> * Jeremy Shaffner <jeremy@external.org> * Keith Walker <kew@icehouse.net> * Kirill Ponomarew <ponomarew@oberon.net> * Kris Kennaway <kkennawa@physics.adelaide.edu.au> * Kris Kennaway <kris@FreeBSD.org * Laurent Courty * Loïc BARTOLETTI <lbartoletti@FreeBSD.org> * Lukas Maly <Iam@LukasMaly.NET> * Markus Brueffer <markus@FreeBSD.org> * Mathias Monnerville <mathias@monnerville.com> * Muhammad Moinur Rahman <bofh@FreeBSD.org> * Patrick Li <pat@FreeBSD.org> * Patrick Li <pat@databits.net> * Piero Serini <piero@FreeBSD.org> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Simon Olofsson <simon@olofsson.de> * Slaven Rezic <slaven@rezic.de> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> * Sébastien Santoro <dereckson@gmail.com> * TAKATSU Tomonari <tota@FreeBSD.org> * Tatsuki Makino <tatsuki_makino@hotmail.com> * Tony Maher <tonymaher@optusnet.com.au> * Wen Heping <wen@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Wen Heping<wen@FreeBSD.org> * Will Andrews <andrews@technologist.com> * asami * chuck@pkix.net * crwhipp@gmail.com * darius@dons.net.au * db * erich@FreeBSD.org * freebsd-ports@henrik.synth.no * ijliao * nwhitehorn * pat * searle * thierry@pompo.net * torstenb * trevor * will With hat: portmgr
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
PORTNAME= routino
|
|
PORTVERSION= 3.3.3
|
|
CATEGORIES= astro
|
|
MASTER_SITES= http://www.routino.org/download/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Router for OpenStreetMap Data
|
|
|
|
LICENSE= AGPLv3
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
USES= compiler gmake perl5 tar:tgz
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFLICTS_INSTALL= jabberd # bin/router
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's|doc/routino|share/doc/routino|' \
|
|
${WRKSRC}/Makefile.conf
|
|
${REINPLACE_CMD} 's|gcc|${CC}|' \
|
|
${WRKSRC}/Makefile.conf
|
|
.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
|
|
${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/xmlparse.c
|
|
.endif
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC}/web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \
|
|
"! -name Makefile")
|
|
${RM} ${STAGEDIR}${PREFIX}/lib/libroutino*.so
|
|
${RM} ${STAGEDIR}${PREFIX}/lib/libroutino*.so.0
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
|
${STRIP_CMD} ${STAGEDIR}${WWWDIR}/bin/*
|
|
.for f in routino.so.0.0.0 routino-slim.so.0.0.0
|
|
${LN} -sf lib${f} ${STAGEDIR}${PREFIX}/lib/lib${f:R:R}
|
|
${LN} -sf lib${f:R:R} ${STAGEDIR}${PREFIX}/lib/lib${f:R:R:R}
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|