Wed Feb 3 22:24:06 2010 UTC ()
DESTDIR support


(joerg)
diff -r1.13 -r1.14 pkgsrc/graphics/qvplay/Makefile
diff -r1.3 -r1.4 pkgsrc/graphics/qvplay/distinfo
diff -r1.1.1.1 -r1.2 pkgsrc/graphics/qvplay/patches/patch-aa

cvs diff -r1.13 -r1.14 pkgsrc/graphics/qvplay/Makefile (expand / switch to context diff)
--- pkgsrc/graphics/qvplay/Makefile 2009/05/19 08:59:18 1.13
+++ pkgsrc/graphics/qvplay/Makefile 2010/02/03 22:24:06 1.14
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/05/19 08:59:18 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2010/02/03 22:24:06 joerg Exp $
 #
 
 DISTNAME=	qvplay-0.94
@@ -10,6 +10,8 @@
 COMMENT=	Software for use with CASIO QV digital cameras
 LICENSE=	generic-nonlicense
 
+PKG_DESTDIR_SUPPORT=	user-destdir
+
 RESTRICTED=	No permission to distribute
 NO_SRC_ON_FTP=		${RESTRICTED}
 NO_BIN_ON_FTP=		${RESTRICTED}
@@ -19,5 +21,7 @@
 WRKSRC=		${WRKDIR}/QVplay094/src
 GNU_CONFIGURE=	yes
 CONFIGURE_HAS_MANDIR=	NO
+
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/graphics/qvplay/distinfo (expand / switch to context diff)
--- pkgsrc/graphics/qvplay/distinfo 2005/02/24 08:45:12 1.3
+++ pkgsrc/graphics/qvplay/distinfo 2010/02/03 22:24:06 1.4
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 08:45:12 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/02/03 22:24:06 joerg Exp $
 
 SHA1 (qvplay-0.94.tar.gz) = ecc48babf604f802833de16eb404186820c93edc
 RMD160 (qvplay-0.94.tar.gz) = 2f84c15541913736ea53c089ae409c60c6dfdae2
 Size (qvplay-0.94.tar.gz) = 110612 bytes
-SHA1 (patch-aa) = 1090a066cfe312a83b19ec06c5d9e97bce83b7a9
+SHA1 (patch-aa) = 7e7c81c9253095b8b01fe0b083c4f0ae62c9da0e

cvs diff -r1.1.1.1 -r1.2 pkgsrc/graphics/qvplay/patches/patch-aa (expand / switch to context diff)
--- pkgsrc/graphics/qvplay/patches/patch-aa 1999/09/17 03:46:32 1.1.1.1
+++ pkgsrc/graphics/qvplay/patches/patch-aa 2010/02/03 22:24:06 1.2
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/09/17 03:46:32 jwise Exp $
+$NetBSD: patch-aa,v 1.2 2010/02/03 22:24:06 joerg Exp $
 --- Makefile.in.orig	Wed May  5 10:24:39 1999
 +++ Makefile.in	Sun Jun 20 19:21:55 1999
 @@ -10,8 +10,8 @@
@@ -8,7 +8,7 @@
 -bindir	= /usr/local/bin
 -mandir  = /usr/local/man/man1
 +bindir	= $(PREFIX)/bin
-+mandir  = $(PREFIX)/man/man1
++mandir  = $(PREFIX)/${PKGMANDIR}/man1
  
  SRCS1	= tty.c command.c command1.c getuint.c jpeg.c ppm.c bmp.c qvplay.c
  OBJS1	= tty.o command.o command1.o getuint.o jpeg.o ppm.o bmp.o qvplay.o
@@ -22,12 +22,12 @@
 -	$(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN1) $(mandir)/$(MAN1)
 -	$(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN2) $(mandir)/$(MAN2)
 -	$(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN3) $(mandir)/$(MAN3)
-+	$(INSTALL_PROGRAM) $(PROG1) $(bindir)/$(PROG1)
-+	$(INSTALL_PROGRAM) $(PROG2) $(bindir)/$(PROG2)
-+	$(INSTALL_PROGRAM) $(PROG3) $(bindir)/$(PROG3)
-+	$(INSTALL_DATA) $(MAN1) $(mandir)/$(MAN1)
-+	$(INSTALL_DATA) $(MAN2) $(mandir)/$(MAN2)
-+	$(INSTALL_DATA) $(MAN3) $(mandir)/$(MAN3)
++	$(INSTALL_PROGRAM) $(PROG1) ${DESTDIR}$(bindir)/$(PROG1)
++	$(INSTALL_PROGRAM) $(PROG2) ${DESTDIR}$(bindir)/$(PROG2)
++	$(INSTALL_PROGRAM) $(PROG3) ${DESTDIR}$(bindir)/$(PROG3)
++	$(INSTALL_DATA) $(MAN1) ${DESTDIR}$(mandir)/$(MAN1)
++	$(INSTALL_DATA) $(MAN2) ${DESTDIR}$(mandir)/$(MAN2)
++	$(INSTALL_DATA) $(MAN3) ${DESTDIR}$(mandir)/$(MAN3)
  depend: .depend
  .depend:
  	mkdep $(SRCS1)