1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/multimedia/vdr-plugin-control/Makefile
Juergen Lock d3466b2eca - Add support patches for teletext subtitle plugin to multimedia/vdr
with knob defaulted to on.  (multimedia/vdr-plugin-ttxtsubs, to be
  committed next.)
- Bump PORTVERSION for vdr, and also for its plugins because this
  is an ABI change.
2011-06-10 17:33:03 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: vdr-plugin-control
# Date created: Wed Apr 14 18:11:42 CEST 2010
# Whom: Juergen Lock <nox@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= vdr-plugin-control
PORTVERSION= 0.0.2a45
PORTREVISION= 8
CATEGORIES= multimedia
MASTER_SITES= http://ricomp.de/vdr/
DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION:S/a45/a/}${DISTVERSIONSUFFIX}
EXTRACT_SUFX= .tgz
PATCH_SITES= http://ppa.launchpad.net/the-vdr-team/unstable-plugins/ubuntu/pool/main/v/vdr-plugin-control/ \
${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= nox/
PATCHFILES= ${PORTNAME}_${PORTVERSION:S/a45/a-45/}yavdr1.diff.gz
MAINTAINER= nox@FreeBSD.org
COMMENT= Video Disk Recorder - telnet control plugin
PATCH_STRIP= -p1
HAVE_CONFIGURE= yes
PORTDOCS= COPYING README
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION:S/a45/a/}
.include "${.CURDIR}/../vdr/Makefile.plugins"
post-patch: post-patch-plugin
for i in ${WRKSRC}/vdr-plugin-${PLUGIN}-${DISTVERSION:S/a45/a/}/debian/patches/*.dpatch; do \
${PATCH} -d ${WRKSRC} `${SED} -n '/^#PATCHOPTIONS:/{s///;p;q;}' $$i` --forward --quiet <$$i ;\
done
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
.include <bsd.port.mk>