2013-07-12 17:44:49 +00:00
|
|
|
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
|
2006-12-04 23:50:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= liblo
|
2014-01-31 19:49:42 +00:00
|
|
|
PORTVERSION= 0.28
|
2006-12-04 23:50:54 +00:00
|
|
|
CATEGORIES= audio
|
2009-08-22 00:13:26 +00:00
|
|
|
MASTER_SITES= SF
|
2006-12-04 23:50:54 +00:00
|
|
|
|
2014-05-16 19:57:11 +00:00
|
|
|
MAINTAINER= koalative@gmail.com
|
2006-12-04 23:50:54 +00:00
|
|
|
COMMENT= Lightweight Open Sound Control implementation
|
|
|
|
|
2013-07-12 17:44:49 +00:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
|
|
|
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
|
|
|
|
2013-08-30 23:10:18 +00:00
|
|
|
USES= gmake pathfix
|
2006-12-04 23:50:54 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2013-07-12 17:44:49 +00:00
|
|
|
|
2014-01-31 19:49:42 +00:00
|
|
|
SHLIB_VER= 9
|
|
|
|
PLIST_SUB+= SHLIB_VER="${SHLIB_VER}"
|
|
|
|
|
2013-07-12 17:44:49 +00:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
DOCSRCDIR1= ${WRKSRC}
|
|
|
|
DOC_FILES1= AUTHORS ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
PORTEXAMPLES= example_client example_server \
|
|
|
|
example_tcp_echo_server nonblocking_server_example
|
|
|
|
|
2013-11-08 00:40:31 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2013-07-12 17:44:49 +00:00
|
|
|
|
|
|
|
post-install:
|
2014-01-31 19:49:42 +00:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblo.so.${SHLIB_VER}
|
|
|
|
|
|
|
|
(cd ${WRKSRC}/doc/man/man3 && ${INSTALL_MAN} l*.3 p*.3 \
|
|
|
|
${STAGEDIR}${MAN3PREFIX}/man/man3/)
|
2013-07-12 17:44:49 +00:00
|
|
|
|
2013-11-08 00:40:31 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
|
2013-07-12 17:44:49 +00:00
|
|
|
|
2013-11-08 00:40:31 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2014-01-31 19:49:42 +00:00
|
|
|
${INSTALL_SCRIPT} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}
|
2006-12-04 23:50:54 +00:00
|
|
|
|
2007-04-17 14:10:56 +00:00
|
|
|
.include <bsd.port.mk>
|