pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/wmcalclock Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e45a9578f09b
branches:  trunk
changeset: 554562:e45a9578f09b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 16 11:51:14 2009 +0000

description:
Convert to user-destdir.

diffstat:

 time/wmcalclock/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 13d353b2d8fb -r e45a9578f09b time/wmcalclock/Makefile
--- a/time/wmcalclock/Makefile  Mon Feb 16 11:26:55 2009 +0000
+++ b/time/wmcalclock/Makefile  Mon Feb 16 11:51:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/01/07 09:14:14 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2009/02/16 11:51:14 wiz Exp $
 #
 
 DISTNAME=      wmCalClock-1.25
@@ -11,20 +11,21 @@
 COMMENT=       Another WindowMaker calendar/clock dockapp
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}/Src
-USE_X11BASE=   YES
 USE_TOOLS+=    gmake
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "SunOS"
 MAKE_ENV+=     EXTRALIBS="-lsocket -lnsl"
 .endif
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
-
 do-install:
-       ${INSTALL_MAN} ${WRKSRC}/wmCalClock.1 ${PREFIX}/${PKGMANDIR}/man1/
-       ${INSTALL_PROGRAM} ${WRKSRC}/wmCalClock ${PREFIX}/bin/
+       ${INSTALL_MAN} ${WRKSRC}/wmCalClock.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_PROGRAM} ${WRKSRC}/wmCalClock ${DESTDIR}${PREFIX}/bin
 
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"



Home | Main Index | Thread Index | Old Index