mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Update to 2.0.1 and reflect the project name change [1]
- Make the port search for its files in ${PREFIX} rather than in ${LOCALBASE} - Install documentation in ${DOCSDIR} rather than in ${DATADIR}, and respect ${NOPORTDOCS} - Refactor pkg-plist as PLIST_FILES/PLIST_DIRS/PORTDOCS [1]: PR: ports/85767 Submitted by: maintainer
This commit is contained in:
parent
184a11723a
commit
e84662c063
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142369
@ -73,7 +73,7 @@
|
||||
SUBDIR += konverter
|
||||
SUBDIR += kplayer
|
||||
SUBDIR += ksubeditor
|
||||
SUBDIR += ldvd9to5
|
||||
SUBDIR += ldvd
|
||||
SUBDIR += libdivxdecore
|
||||
SUBDIR += libdivxdecore-devel
|
||||
SUBDIR += libdivxencore
|
||||
|
@ -5,13 +5,10 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ldvd9to5
|
||||
PORTVERSION= 1.12
|
||||
PORTREVISION= 2
|
||||
PORTNAME= ldvd
|
||||
PORTVERSION= 2.0.1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://files.gff-clan.net/pub/ldvd/
|
||||
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= fehlner@gmx.de
|
||||
COMMENT= Gui, which shall simplify shrinking a DVD-9 to a DVD-5
|
||||
@ -23,25 +20,33 @@ RUN_DEPENDS= transcode:${PORTSDIR}/multimedia/transcode \
|
||||
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
|
||||
buffer:${PORTSDIR}/misc/buffer \
|
||||
lsdvd:${PORTSDIR}/multimedia/lsdvd \
|
||||
mplex:${PORTSDIR}/multimedia/mjpegtools \
|
||||
${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PERL= yes
|
||||
USE_REINPLACE= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
NO_BUILD= yes
|
||||
DATA= INSTALL.de INSTALL.en README.de README.en COPYING
|
||||
DATA= de.lang en.lang
|
||||
PORTDOCS= AUTHORS HISTORY README.de README.en
|
||||
PLIST_FILES= bin/ldvd etc/ldvd.conf.sample ${DATA:S|^|%%DATADIR%%/|}
|
||||
PLIST_DIRS= %%DATADIR%%
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|LSDVD=/opt/ldvd9to5|LSDVD=${LOCALBASE}/bin|g' ${WRKSRC}/ldvd9to5.conf
|
||||
@${REINPLACE_CMD} -e 's|/opt|${LOCALBASE}/share|g' -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/ldvd9to5
|
||||
@${REINPLACE_CMD} -e 's|ldvd-ls|lsdvd|g' \
|
||||
${WRKSRC}/ldvd.conf ${WRKSRC}/ldvd
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/$$sh_name-$$version|${DATADIR}|g; \
|
||||
s|/etc|${PREFIX}/etc|g' ${WRKSRC}/ldvd
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ldvd ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/ldvd.conf ${PREFIX}/etc/ldvd.conf.sample
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${DATADIR}
|
||||
${MKDIR} ${DATADIR}/modules
|
||||
${CP} -rv ${WRKSRC}/modules ${DATADIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ldvd9to5.conf ${PREFIX}/etc
|
||||
cd ${WRKSRC} && ${INSTALL_SCRIPT} ldvd9to5 ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${DATA:S|^|${WRKSRC}/|} ${DATADIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (ldvd9to5-v1.12.tgz) = 0847b41ea7a33c411022240809287b9f
|
||||
SIZE (ldvd9to5-v1.12.tgz) = 34959
|
||||
MD5 (ldvd-2.0.1.tar.bz2) = 0cac34f3a713ee79f071a42b31cb2c93
|
||||
SIZE (ldvd-2.0.1.tar.bz2) = 26805
|
||||
|
@ -1,6 +1,6 @@
|
||||
LDVD9to5 is only a Gui, which shall simplify shrinking a DVD-9 to a DVD-5.
|
||||
LDVD is only a Gui, which shall simplify shrinking a DVD-9 to a DVD-5.
|
||||
|
||||
WWW: http://ldvd9to5.gff-clan.net/?project=ldvd9to5
|
||||
WWW: http://projects.gff-clan.net/
|
||||
|
||||
Andreas Fehlner
|
||||
-fehlner@gmx.de
|
||||
|
@ -1,12 +0,0 @@
|
||||
bin/ldvd9to5
|
||||
etc/ldvd9to5.conf
|
||||
%%DATADIR%%/INSTALL.de
|
||||
%%DATADIR%%/INSTALL.en
|
||||
%%DATADIR%%/README.de
|
||||
%%DATADIR%%/README.en
|
||||
%%DATADIR%%/COPYING
|
||||
%%DATADIR%%/modules/extract.pm
|
||||
%%DATADIR%%/modules/info.pm
|
||||
%%DATADIR%%/modules/util.pm
|
||||
@dirrm %%DATADIR%%/modules
|
||||
@dirrm %%DATADIR%%
|
@ -1,47 +0,0 @@
|
||||
# New ports collection makefile for: ldvd9to5
|
||||
# Date created: 2004-10-03
|
||||
# Whom: Andreas Fehlner <fehlner@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ldvd9to5
|
||||
PORTVERSION= 1.12
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://files.gff-clan.net/pub/ldvd/
|
||||
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= fehlner@gmx.de
|
||||
COMMENT= Gui, which shall simplify shrinking a DVD-9 to a DVD-5
|
||||
|
||||
RUN_DEPENDS= transcode:${PORTSDIR}/multimedia/transcode \
|
||||
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
|
||||
mkisofs:${PORTSDIR}/sysutils/cdrtools \
|
||||
ifo_dump:${PORTSDIR}/multimedia/ogle \
|
||||
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
|
||||
buffer:${PORTSDIR}/misc/buffer \
|
||||
lsdvd:${PORTSDIR}/multimedia/lsdvd \
|
||||
${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
|
||||
|
||||
USE_PERL= yes
|
||||
USE_REINPLACE= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
NO_BUILD= yes
|
||||
DATA= INSTALL.de INSTALL.en README.de README.en COPYING
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|LSDVD=/opt/ldvd9to5|LSDVD=${LOCALBASE}/bin|g' ${WRKSRC}/ldvd9to5.conf
|
||||
@${REINPLACE_CMD} -e 's|/opt|${LOCALBASE}/share|g' -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/ldvd9to5
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${DATADIR}
|
||||
${MKDIR} ${DATADIR}/modules
|
||||
${CP} -rv ${WRKSRC}/modules ${DATADIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ldvd9to5.conf ${PREFIX}/etc
|
||||
cd ${WRKSRC} && ${INSTALL_SCRIPT} ldvd9to5 ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
MD5 (ldvd9to5-v1.12.tgz) = 0847b41ea7a33c411022240809287b9f
|
||||
SIZE (ldvd9to5-v1.12.tgz) = 34959
|
@ -1,6 +0,0 @@
|
||||
LDVD9to5 is only a Gui, which shall simplify shrinking a DVD-9 to a DVD-5.
|
||||
|
||||
WWW: http://ldvd9to5.gff-clan.net/?project=ldvd9to5
|
||||
|
||||
Andreas Fehlner
|
||||
-fehlner@gmx.de
|
@ -1,12 +0,0 @@
|
||||
bin/ldvd9to5
|
||||
etc/ldvd9to5.conf
|
||||
%%DATADIR%%/INSTALL.de
|
||||
%%DATADIR%%/INSTALL.en
|
||||
%%DATADIR%%/README.de
|
||||
%%DATADIR%%/README.en
|
||||
%%DATADIR%%/COPYING
|
||||
%%DATADIR%%/modules/extract.pm
|
||||
%%DATADIR%%/modules/info.pm
|
||||
%%DATADIR%%/modules/util.pm
|
||||
@dirrm %%DATADIR%%/modules
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user