1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/orc/Makefile
Jimmy Olgeni e929aea23c Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.
This round is @FreeBSD.org residents except teams.
2017-11-02 21:41:47 +00:00

60 lines
1.3 KiB
Makefile

# Created by: mm
# $FreeBSD$
PORTNAME= orc
PORTVERSION= 0.4.25
CATEGORIES= devel
MASTER_SITES= http://gstreamer.freedesktop.org/data/src/orc/
MAINTAINER= kwm@FreeBSD.org
COMMENT= Library and toolset to operate arrays of data
LICENSE= BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libtool pathfix pkgconfig tar:xz
PATHFIX_MAKEFILEIN= configure
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS+=--disable-gtk-doc
INSTALL_TARGET= install-strip
SUBDIRS= orc orc-test tools
EXAMPLES_DATA= example1orc.orc example2orc.orc example3orc.orc \
mt19937arorc.orc
OPTIONS_DEFINE= DOCS EXAMPLES
DOCS_DESC= Include gtk-doc documentation
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
SUBDIRS+= doc
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
SUBDIRS+= examples
.endif
MAKE_ARGS+= SUBDIRS="${SUBDIRS}"
post-patch:
@${REINPLACE_CMD} \
-E -e '/LIBS/s/-lrt(\ )*//; /LIBRT/s/-lrt//' \
${WRKSRC}/configure
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for FILE in ${EXAMPLES_DATA}
@${INSTALL_DATA} ${WRKSRC}/examples/${FILE} ${STAGEDIR}${EXAMPLESDIR}/${FILE}
.endfor
.for FILE in ${EXAMPLES_EXEC}
@${INSTALL_SCRIPT} ${WRKSRC}/examples/${FILE} ${STAGEDIR}${EXAMPLESDIR}/${FILE}
.endfor
.endif
.include <bsd.port.mk>