pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/tzosdclock Add DESTDIR support. Needs libXt and li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc12f3331135
branches:  trunk
changeset: 554070:dc12f3331135
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Feb 07 22:02:30 2009 +0000

description:
Add DESTDIR support. Needs libXt and libXinerama. Bump revision.

diffstat:

 x11/tzosdclock/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r e0596f15bf5e -r dc12f3331135 x11/tzosdclock/Makefile
--- a/x11/tzosdclock/Makefile   Sat Feb 07 21:51:08 2009 +0000
+++ b/x11/tzosdclock/Makefile   Sat Feb 07 22:02:30 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2007/01/26 23:29:18 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2009/02/07 22:02:30 joerg Exp $
 #
 
 DISTNAME=              tzosdclock_1.0.2
 PKGNAME=               tzosdclock-1.0.2
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            x11
 MASTER_SITES=          http://www.unixdev.net/downloads/tzosdclock/1.0.2/
 
@@ -11,13 +11,17 @@
 HOMEPAGE=              http://www.unixdev.net/projects/tzosdclock
 COMMENT=               OnScreen Display Clock for Multiple Timezones
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
 GNU_CONFIGURE=         yes
 
-BUILDLINK_DEPMETHOD.libXt?=    build
+INSTALL_MAKE_FLAGS+=   DEST=${DESTDIR}${PREFIX}/bin \
+                       MAN=${DESTDIR}${PREFIX}/${PKGMANDIR}
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
 .include "../../x11/xosd/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index