pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/fxtv Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38956149ac01
branches:  trunk
changeset: 398327:38956149ac01
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 29 11:49:05 2009 +0000

description:
Convert to user-destdir.

diffstat:

 multimedia/fxtv/Makefile         |   7 +++++--
 multimedia/fxtv/distinfo         |   4 ++--
 multimedia/fxtv/patches/patch-aa |  27 ++++++++++++++++++++++++++-
 3 files changed, 33 insertions(+), 5 deletions(-)

diffs (76 lines):

diff -r 8418cf306d84 -r 38956149ac01 multimedia/fxtv/Makefile
--- a/multimedia/fxtv/Makefile  Sat Aug 29 11:45:29 2009 +0000
+++ b/multimedia/fxtv/Makefile  Sat Aug 29 11:49:05 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/08/26 19:58:05 sno Exp $
+# $NetBSD: Makefile,v 1.22 2009/08/29 11:49:05 wiz Exp $
 
 DISTNAME=      fxtv-1.03
 PKGREVISION=   14
@@ -10,9 +10,12 @@
 HOMEPAGE=      http://people.freebsd.org/~rhh/fxtv/
 COMMENT=       TV display application for Brooktree 848 compatible TV cards
 
-USE_X11BASE=   YES
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    gmake
 
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
+
 SUBST_CLASSES+=                ossaudio
 SUBST_MESSAGE.ossaudio=        Fixing path to audio device.
 SUBST_STAGE.ossaudio=  pre-configure
diff -r 8418cf306d84 -r 38956149ac01 multimedia/fxtv/distinfo
--- a/multimedia/fxtv/distinfo  Sat Aug 29 11:45:29 2009 +0000
+++ b/multimedia/fxtv/distinfo  Sat Aug 29 11:49:05 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2008/01/16 13:54:17 jmcneill Exp $
+$NetBSD: distinfo,v 1.11 2009/08/29 11:49:05 wiz Exp $
 
 SHA1 (fxtv-1.03.tgz) = 2ed9f2bee879a931c7f963a4ad7d07ef9cd297f9
 RMD160 (fxtv-1.03.tgz) = 740ddbb4e3b58028a6b8f17483bc27b82420f280
 Size (fxtv-1.03.tgz) = 198669 bytes
-SHA1 (patch-aa) = 43abd48d119dc626f60c9efc666c2bca7015af11
+SHA1 (patch-aa) = fd037c3128d4a4b036d65599ca5b9580ff7e1d23
 SHA1 (patch-ab) = 80523d5cb2fcc06c2486f3be2556f5f9b1362472
 SHA1 (patch-ac) = 27a825287c17d1cc957fb89ba2f665c01f998c15
 SHA1 (patch-ad) = daea79659e2b7af142ca101601887d58239f35d7
diff -r 8418cf306d84 -r 38956149ac01 multimedia/fxtv/patches/patch-aa
--- a/multimedia/fxtv/patches/patch-aa  Sat Aug 29 11:45:29 2009 +0000
+++ b/multimedia/fxtv/patches/patch-aa  Sat Aug 29 11:49:05 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2007/01/26 15:15:50 joerg Exp $
+$NetBSD: patch-aa,v 1.6 2009/08/29 11:49:05 wiz Exp $
 
 --- Makefile.orig      2001-02-12 22:08:59.000000000 +0000
 +++ Makefile
@@ -84,3 +84,28 @@
                               -lSM -lICE -lXext -lX11 -lm
  ifeq ($(HAVE_XFREE86),YES)
    override LIBS           += -lXxf86dga -lXxf86vm
+@@ -116,15 +116,15 @@ $(VIDEOLIB_LIB) :
+ tv.o : tv.c app_rsrc.h
+ 
+ install : fxtv
+-      mkdir -p $(FXTV_LIBDIR)/bitmaps
+-      install -c -m 444 -o root $(PIXMAPS) $(FXTV_LIBDIR)/bitmaps
+-      install -c -m 444 -o root README $(FXTV_LIBDIR)
+-      mkdir -p $(X11BASEINST)/lib/X11/app-defaults
+-      install -c -m 444 -o root Fxtv $(X11BASEINST)/lib/X11/app-defaults
+-      mkdir -p $(X11BASEINST)/bin
+-      install -c -m 444 -o root fxtv.1 $(X11BASEINST)/man/man1/fxtv.1
+-      install -c -m 555 -o root fxtv $(X11BASEINST)/bin
+-      install -c -m 555 -o root fxtv_cnvt.sh $(FXTV_LIBDIR)
++      mkdir -p ${DESTDIR}$(FXTV_LIBDIR)/bitmaps
++      install -c -m 444 -o pbulk $(PIXMAPS) ${DESTDIR}$(FXTV_LIBDIR)/bitmaps
++      install -c -m 444 -o pbulk README ${DESTDIR}$(FXTV_LIBDIR)
++      mkdir -p ${DESTDIR}$(X11BASEINST)/lib/X11/app-defaults
++      install -c -m 444 -o pbulk Fxtv ${DESTDIR}$(X11BASEINST)/lib/X11/app-defaults
++      mkdir -p ${DESTDIR}$(X11BASEINST)/bin
++      install -c -m 444 -o pbulk fxtv.1 ${DESTDIR}$(X11BASEINST)/man/man1/fxtv.1
++      install -c -m 555 -o pbulk fxtv ${DESTDIR}$(X11BASEINST)/bin
++      install -c -m 555 -o pbulk fxtv_cnvt.sh ${DESTDIR}$(FXTV_LIBDIR)
+ 
+ clean:
+       rm -f *.o fxtv *.core *~



Home | Main Index | Thread Index | Old Index