diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 19:46:23 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 19:46:23 +0000 |
commit | 468bf1531b3cfd60ecdcce33c1754373a0b26bae (patch) | |
tree | af3aa682f13ad4edbf6e80898cb23b80af8ab0b2 /time | |
parent | fe79078a2efffa60049448ed9dde3ceafb580812 (diff) | |
download | pkgsrc-468bf1531b3cfd60ecdcce33c1754373a0b26bae.tar.gz |
user-destdir support
Diffstat (limited to 'time')
-rw-r--r-- | time/xchrono/Makefile | 9 | ||||
-rw-r--r-- | time/xdaliclock/Makefile | 7 | ||||
-rw-r--r-- | time/xdkcal/Makefile | 7 | ||||
-rw-r--r-- | time/xtu/Makefile | 6 |
4 files changed, 20 insertions, 9 deletions
diff --git a/time/xchrono/Makefile b/time/xchrono/Makefile index 62d50c32903..49952a84528 100644 --- a/time/xchrono/Makefile +++ b/time/xchrono/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2008/11/12 13:18:50 obache Exp $ +# $NetBSD: Makefile,v 1.10 2009/07/07 19:52:35 joerg Exp $ # DISTNAME= xchrono @@ -11,11 +11,14 @@ EXTRACT_SUFX= .shar MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Multi-timezone X11-based clock +PKG_DESTDIR_SUPPORT= user-destdir + USE_IMAKE= yes +INSTALLATION_DIRS= share/doc/xchrono + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchrono - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchrono/ + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xchrono/ .include "../../x11/libXaw/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" diff --git a/time/xdaliclock/Makefile b/time/xdaliclock/Makefile index 41b383a63c8..958eaa7dfd4 100644 --- a/time/xdaliclock/Makefile +++ b/time/xdaliclock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/02/02 00:06:52 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2009/07/07 19:49:51 joerg Exp $ # DISTNAME= xdaliclock-2.18 @@ -11,9 +11,14 @@ MAINTAINER= nathanw@NetBSD.org HOMEPAGE= http://www.jwz.org/xdaliclock/ COMMENT= Animated digital clock +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/X11 GNU_CONFIGURE= yes +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +INSTALL_MAKE_FLAGS+= install_prefix=${DESTDIR} + .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/time/xdkcal/Makefile b/time/xdkcal/Makefile index f81eb2a6817..fee21a6541b 100644 --- a/time/xdkcal/Makefile +++ b/time/xdkcal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2008/07/15 15:33:46 mishka Exp $ +# $NetBSD: Makefile,v 1.8 2009/07/07 19:46:58 joerg Exp $ # DISTNAME= xdkcal-0.9d @@ -11,14 +11,15 @@ HOMEPAGE= http://www.shiratori.riec.tohoku.ac.jp/~jir/linux/products/xdkcal/inde COMMENT= X Desktop Calendar PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xdkcal ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/xdkcal.1x ${PREFIX}/${PKGMANDIR}/man1/xdkcal.1 + ${INSTALL_PROGRAM} ${WRKSRC}/xdkcal ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xdkcal.1x ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xdkcal.1 .include "../../x11/libXext/buildlink3.mk" .include "../../x11/xextproto/buildlink3.mk" diff --git a/time/xtu/Makefile b/time/xtu/Makefile index 42941aaf6ee..49b098d4322 100644 --- a/time/xtu/Makefile +++ b/time/xtu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/02/02 00:00:45 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2009/07/07 19:46:23 joerg Exp $ # DISTNAME= xtu-1.2 @@ -10,13 +10,15 @@ MAINTAINER= sketch@NetBSD.org HOMEPAGE= http://core.de/~coto/projects/xtu/ COMMENT= Small configurable X11 analog clock +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin do-build: cd ${WRKSRC} && ${CC} *.c -o xtu -I${X11BASE}/include ${X11_LDFLAGS} -lX11 -lXext do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xtu ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/xtu ${DESTDIR}${PREFIX}/bin/ .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" |