2014-08-12 16:33:42 +02:00
|
|
|
# Created by: Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl>
|
2006-12-05 00:50:54 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= liblo
|
2014-01-31 20:49:42 +01:00
|
|
|
PORTVERSION= 0.28
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 3
|
2006-12-05 00:50:54 +01:00
|
|
|
CATEGORIES= audio
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF
|
2006-12-05 00:50:54 +01:00
|
|
|
|
2014-05-16 21:57:11 +02:00
|
|
|
MAINTAINER= koalative@gmail.com
|
2006-12-05 00:50:54 +01:00
|
|
|
COMMENT= Lightweight Open Sound Control implementation
|
|
|
|
|
2013-07-12 19:44:49 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2006-12-05 00:50:54 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-12-08 17:48:38 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USES= gmake libtool pathfix
|
2006-12-05 00:50:54 +01:00
|
|
|
USE_LDCONFIG= yes
|
2013-07-12 19:44:49 +02:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= example_client example_server \
|
|
|
|
example_tcp_echo_server nonblocking_server_example
|
|
|
|
|
2014-08-12 16:33:42 +02:00
|
|
|
OPTIONS_DEFINE= DOXYGEN DOCS EXAMPLES
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
2014-08-12 16:33:42 +02:00
|
|
|
|
2015-08-19 15:41:51 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2014-08-12 16:33:42 +02:00
|
|
|
post-patch:
|
|
|
|
.if ${ARCH} == i386 || ${ARCH} == powerpc
|
|
|
|
@${REINPLACE_CMD} -e 's,deadbeef,, ; s,f00baa23,,' \
|
|
|
|
${WRKSRC}/lo/lo_macros.h
|
|
|
|
.endif
|
2013-07-12 19:44:49 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-08-12 16:33:42 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for f in AUTHORS ChangeLog NEWS README TODO
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.endfor
|
2013-11-08 01:40:31 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2014-01-31 20:49:42 +01:00
|
|
|
${INSTALL_SCRIPT} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}
|
2015-08-19 15:29:59 +02:00
|
|
|
post-install-DOXYGEN-on:
|
|
|
|
(cd ${WRKSRC}/doc/man/man3 && ${INSTALL_MAN} l*.3 p*.3 \
|
|
|
|
${STAGEDIR}${MAN3PREFIX}/man/man3/)
|
|
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
|
2006-12-05 00:50:54 +01:00
|
|
|
|
2007-04-17 16:10:56 +02:00
|
|
|
.include <bsd.port.mk>
|