freebsd-ports/multimedia/vdr-plugin-skinenigmang/Makefile
Tobias C. Berner 5924d18713 multimedia/vdr-plugin-skinenigmang: prepare for freetype2 update
- freetype2 will no longer ship freetype-config (which was a pkg-config
wrapper) in the near future -- use pkg-config to gather the required
flags.

PR:             251512
2021-08-07 10:45:13 +02:00

47 lines
1.2 KiB
Makefile

# Created by: Juergen Lock <nox@FreeBSD.org>
PORTNAME= vdr-plugin-skinenigmang
PORTVERSION= 0.1.2s20120606
PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= http://andreas.vdr-developer.org/enigmang/download/:release \
LOCAL/nox:snapshot
DISTNAME= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
DISTFILES= ${DISTNAME}.tar.bz2:snapshot \
skinenigmang-logos-xpm-hi-20070702.tgz:release
MAINTAINER= ports@FreeBSD.org
COMMENT= Video Disk Recorder - Enigma-NG skin plugin
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pkgconfig
PATCH_STRIP= -p1
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README HISTORY
OPTIONS_DEFINE= DOCS NLS
BINARY_ALIAS= freetype-config=true
.include "${.CURDIR}/../vdr/Makefile.plugins"
post-patch: post-patch-plugin
${REINPLACE_CMD} 's|freetype-config |pkg-config freetype2 |g' \
${WRKSRC}/Makefile
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
post-install: post-install-pluginlocales
(cd ${WRKDIR}/${PLUGIN} && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} )
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>