mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
dcf17d14a7
The downloads.xiph.org master site requires TLS1.3, which is not supported by FreeBSD 11's OpenSSL and fetch(1). Add ftp.osuosl.org as a backup to all Xiph.org ports. PR: 256515 Reported by: Daniel Engberg
68 lines
1.7 KiB
Makefile
68 lines
1.7 KiB
Makefile
# Created by: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
PORTNAME= libkate
|
|
PORTVERSION= 0.4.1
|
|
PORTREVISION= 11
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= https://downloads.xiph.org/releases/kate/ \
|
|
https://ftp.osuosl.org/pub/xiph/releases/kate/
|
|
|
|
MAINTAINER= bar@FreeBSD.org
|
|
COMMENT= Codec for karaoke and text encapsulation for Ogg
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libogg.so:audio/libogg \
|
|
libpng.so:graphics/png
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= pathfix pkgconfig gmake libtool
|
|
USE_LDCONFIG= yes
|
|
|
|
CFLAGS+= "-I${LOCALBASE}/include"
|
|
|
|
MANPAGE= katalyzer.1 kateenc.1 katedec.1
|
|
OPTIONS_DEFINE= DOXYGEN HTMLDOCS DOCS
|
|
|
|
HTMLDOCS_DESC= Install bundled html documentation
|
|
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
|
|
BUILD_DEPENDS+= doxygen:devel/doxygen
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-doc
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
"s| HAVE_PYTHON_TRUE=$$| HAVE_PYTHON_TRUE='#'|; \
|
|
s| HAVE_PYTHON_FALSE='#'$$| HAVE_PYTHON_FALSE=|" \
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
"s|^(install-data-am: ).*|\1|" \
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
.if ! ${PORT_OPTIONS:MDOXYGEN} || ! ${PORT_OPTIONS:MDOCS}
|
|
@${TOUCH} ${WRKSRC}/doc/.doc-dummy-target
|
|
.endif
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
.for f in ${MANPAGE}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/${f} ${STAGEDIR}${PREFIX}/man/man1
|
|
.endfor
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for FILE in README AUTHORS COPYING THANKS ChangeLog
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.if ${PORT_OPTIONS:MHTMLDOCS} || ${PORT_OPTIONS:MDOXYGEN}
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
|
|
. endif
|
|
|
|
.include <bsd.port.mk>
|