pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/dvd-slideshow Fix up broken package importe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ba8dfdbe51d3
branches: trunk
changeset: 536932:ba8dfdbe51d3
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Dec 29 15:47:27 2007 +0000
description:
Fix up broken package imported during freeze:
- fetch was broken, fixed
- dependencies were not patterns, fixed
- no conditional dependencies, this is not FreeBSD ports, thanks
- when installing bash scripts, have a runtime dependency on it
- patch scripts *before* installing them
In addition, add DESTDIR support.
Bump revision.
diffstat:
multimedia/dvd-slideshow/Makefile | 51 ++++++++++++++++----------------------
1 files changed, 22 insertions(+), 29 deletions(-)
diffs (84 lines):
diff -r a01baf186692 -r ba8dfdbe51d3 multimedia/dvd-slideshow/Makefile
--- a/multimedia/dvd-slideshow/Makefile Sat Dec 29 13:26:29 2007 +0000
+++ b/multimedia/dvd-slideshow/Makefile Sat Dec 29 15:47:27 2007 +0000
@@ -1,21 +1,26 @@
-# $NetBSD: Makefile,v 1.1 2007/12/28 20:30:47 darcy Exp $
+# $NetBSD: Makefile,v 1.2 2007/12/29 15:47:27 joerg Exp $
# FreeBSD Id: ports/multimedia/dvd-slideshow/Makefile,v 1.12 2007/09/23 04:42:06 edwin Exp
DISTNAME= dvd-slideshow-0.7.5
+PKGREVISION= 1
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=${PORTNAME}/}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvd-slideshow/}
MAINTAINER= darcy%NetBSD.org@localhost
HOMEPAGE= http://dvd-slideshow.sourceforge.net/
COMMENT= Script that creates a slideshow-style DVD with some simple menus
-DEPENDS += cdrtools:../../sysutils/cdrtools
-DEPENDS += sox:../../audio/sox
-DEPENDS += dvdauthor:../../multimedia/dvdauthor
-DEPENDS += dvd+rw-tools:../../sysutils/dvd+rw-tools
+PKG_DESTDIR_SUPPORT= user-destdir
-USE_X11BASE=yes
-USE_TOOLS += bash
+DEPENDS+= cdrtools-[0-9]*:../../sysutils/cdrtools
+DEPENDS+= lame-[0-9]*:../../audio/lame
+DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools
+DEPENDS+= sox-[0-9]*:../../audio/sox
+DEPENDS+= dvdauthor-[0-9]*:../../multimedia/dvdauthor
+DEPENDS+= dvd+rw-tools-[0-9]*:../../sysutils/dvd+rw-tools
+
+USE_X11BASE= yes
+USE_TOOLS+= bash:run
NO_BUILD= yes
SCRIPTS= dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow \
jigl2slideshow
@@ -29,36 +34,24 @@
dvd-slideshow dvd-slideshow.orig gallery1-to-slideshow \
install.sh jigl2slideshow
-.include "../../mk/bsd.prefs.mk"
-
-.if exists(${LOCALBASE}/bin/lame)
-DEPENDS+= lame:../../audio/lame
-.endif
-.if exists(${LOCALBASE}/bin/oggdec)
-DEPENDS += vorbis-tools:../../audio/vorbis-tools
-.endif
-
SUBST_CLASSES+= fonts
-SUBST_STAGE.fonts= post-install
+SUBST_STAGE.fonts= post-build
SUBST_FILES.fonts= dvd-menu dvd-slideshow
SUBST_SED.fonts= -e 's,/usr/share/fonts/,${X11BASE}/lib/X11/fonts/,g'
SUBST_MESSAGE.fonts= Fixing hardcoded fonts paths.
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${DOCDIR}
+
do-install:
.for file in ${SCRIPTS}
- ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
-.endfor
-
- @${ECHO_MSG} "Installing man files."
-.for file in ${MAN1}
- ${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/bin
.endfor
-
- @${ECHO_MSG} "Installing doc files."
- ${MKDIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${DOCDIR}
+.for file in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/man/${file} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${DESTDIR}${DOCDIR}
.for file in ${DOC_FILES}
- ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DESTDIR}${DOCDIR}
.endfor
.include "../../graphics/ImageMagick/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index