mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Unbreak the build on PowerPC and consumers' builds on i386
- Make DOXYGEN builddep optional (and off by default) - Sort USES values alphabetically - Simplify Makefile a bit (get rid of DOCSRCDIR1 and DOC_FILES1) - Remove traces of markdown in pkg-descr (unsupported in ports) Approved by: maintainer
This commit is contained in:
parent
e5c97b75cc
commit
8281aca218
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364706
@ -1,9 +1,9 @@
|
||||
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
|
||||
# Created by: Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= liblo
|
||||
PORTVERSION= 0.28
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= SF
|
||||
|
||||
@ -12,9 +12,7 @@ COMMENT= Lightweight Open Sound Control implementation
|
||||
|
||||
LICENSE= LGPL21
|
||||
|
||||
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
||||
|
||||
USES= gmake pathfix libtool:oldver
|
||||
USES= gmake libtool:oldver pathfix
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
@ -22,25 +20,33 @@ SHLIB_VER= 9
|
||||
PLIST_SUB+= SHLIB_VER="${SHLIB_VER}"
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
DOCSRCDIR1= ${WRKSRC}
|
||||
DOC_FILES1= AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
PORTEXAMPLES= example_client example_server \
|
||||
example_tcp_echo_server nonblocking_server_example
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
OPTIONS_DEFINE= DOXYGEN DOCS EXAMPLES
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${ARCH} == i386 || ${ARCH} == powerpc
|
||||
@${REINPLACE_CMD} -e 's,deadbeef,, ; s,f00baa23,,' \
|
||||
${WRKSRC}/lo/lo_macros.h
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblo.so.${SHLIB_VER}
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in AUTHORS ChangeLog NEWS README TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOXYGEN}
|
||||
(cd ${WRKSRC}/doc/man/man3 && ${INSTALL_MAN} l*.3 p*.3 \
|
||||
${STAGEDIR}${MAN3PREFIX}/man/man3/)
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
|
||||
${STAGEDIR}${EXAMPLESDIR}
|
||||
|
@ -2,7 +2,7 @@ liblo is a lightweight library that provides an easy to use implementation of
|
||||
the Open Sound Control protocol for POSIX systems. For more information about
|
||||
the Open Sound Control protocol, please see:
|
||||
|
||||
- [OSC at CNMAT](http://www.cnmat.berkeley.edu/OpenSoundControl/)
|
||||
- [opensoundcontrol.org](http://www.opensoundcontrol.org/)
|
||||
- http://www.cnmat.berkeley.edu/OpenSoundControl/
|
||||
- http://www.opensoundcontrol.org/
|
||||
|
||||
WWW: http://liblo.sourceforge.net/
|
||||
|
@ -14,14 +14,14 @@ lib/liblo.la
|
||||
lib/liblo.so
|
||||
lib/liblo.so.%%SHLIB_VER%%
|
||||
libdata/pkgconfig/liblo.pc
|
||||
man/man3/liblo.3.gz
|
||||
man/man3/liblolowlevel.3.gz
|
||||
man/man3/lo.h.3.gz
|
||||
man/man3/lo_arg.3.gz
|
||||
man/man3/lo_lowlevel.h.3.gz
|
||||
man/man3/lo_osc_types.h.3.gz
|
||||
man/man3/lo_serverthread.h.3.gz
|
||||
man/man3/lo_timetag.3.gz
|
||||
man/man3/lo_types.h.3.gz
|
||||
man/man3/pp.3.gz
|
||||
%%DOXYGEN%%man/man3/liblo.3.gz
|
||||
%%DOXYGEN%%man/man3/liblolowlevel.3.gz
|
||||
%%DOXYGEN%%man/man3/lo.h.3.gz
|
||||
%%DOXYGEN%%man/man3/lo_arg.3.gz
|
||||
%%DOXYGEN%%man/man3/lo_lowlevel.h.3.gz
|
||||
%%DOXYGEN%%man/man3/lo_osc_types.h.3.gz
|
||||
%%DOXYGEN%%man/man3/lo_serverthread.h.3.gz
|
||||
%%DOXYGEN%%man/man3/lo_timetag.3.gz
|
||||
%%DOXYGEN%%man/man3/lo_types.h.3.gz
|
||||
%%DOXYGEN%%man/man3/pp.3.gz
|
||||
@dirrm include/lo
|
||||
|
Loading…
Reference in New Issue
Block a user