pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/922c0d16f6bf
branches: trunk
changeset: 561143:922c0d16f6bf
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 20:07:00 2009 +0000
description:
user-destdir support
diffstat:
time/leapsunpack/Makefile | 10 ++++++----
time/logtime/Makefile | 8 +++++---
time/remind/Makefile | 20 +++++++++++---------
3 files changed, 22 insertions(+), 16 deletions(-)
diffs (106 lines):
diff -r 1ebe56d8a6d5 -r 922c0d16f6bf time/leapsunpack/Makefile
--- a/time/leapsunpack/Makefile Tue Jul 07 20:06:16 2009 +0000
+++ b/time/leapsunpack/Makefile Tue Jul 07 20:07:00 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/05/22 18:03:30 zafer Exp $
+# $NetBSD: Makefile,v 1.3 2009/07/07 20:07:49 joerg Exp $
#
DISTNAME= leapsunpack-0.05
@@ -9,6 +9,8 @@
HOMEPAGE= http://su.bze.ro/software/
COMMENT= Creates libtai leapsecs.dat from compressed table
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= libtai-[0-9]*:../../devel/libtai
DJB_RESTRICTED= no
@@ -22,9 +24,9 @@
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/leapsunpack ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/leapsinstall ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/leapsunpack ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/leapsinstall ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 1ebe56d8a6d5 -r 922c0d16f6bf time/logtime/Makefile
--- a/time/logtime/Makefile Tue Jul 07 20:06:16 2009 +0000
+++ b/time/logtime/Makefile Tue Jul 07 20:07:00 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/05/30 00:58:30 zafer Exp $
+# $NetBSD: Makefile,v 1.12 2009/07/07 20:07:00 joerg Exp $
#
DISTNAME= logtime-1.2
@@ -8,12 +8,14 @@
MAINTAINER= kim%tac.nyc.ny.us@localhost
COMMENT= Prints date and time in a standard format
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= yes
-MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
BUILD_TARGET= all
INSTALL_TARGET= install
-INSTALLATION_DIRS= ${PKGMANDIR}
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff -r 1ebe56d8a6d5 -r 922c0d16f6bf time/remind/Makefile
--- a/time/remind/Makefile Tue Jul 07 20:06:16 2009 +0000
+++ b/time/remind/Makefile Tue Jul 07 20:07:00 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/01/07 21:43:28 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2009/07/07 20:07:07 joerg Exp $
#
DISTNAME= remind-03.01.06
@@ -10,6 +10,8 @@
HOMEPAGE= http://www.roaringpenguin.com/products/remind
COMMENT= Calendar/alarm program with interpreted input language
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= perl:run
USE_FEATURES= glob
@@ -26,22 +28,22 @@
< ${WRKSRC}/man/cm2rem.1.bak \
> ${WRKSRC}/man/cm2rem.1
+INSTALLATION_DIRS= share/examples/remind share/doc/remind
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/remind
cd ${WRKSRC}; \
${INSTALL_DATA} examples/defs.rem \
- ${PREFIX}/share/examples/remind; \
+ ${DESTDIR}${PREFIX}/share/examples/remind; \
${INSTALL_DATA} examples/remind.vim \
- ${PREFIX}/share/examples/remind; \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/remind
+ ${DESTDIR}${PREFIX}/share/examples/remind; \
cd ${WRKSRC}; \
${INSTALL_DATA} docs/README.UNIX \
- ${PREFIX}/share/doc/remind; \
+ ${DESTDIR}${PREFIX}/share/doc/remind; \
${INSTALL_DATA} docs/WHATSNEW \
- ${PREFIX}/share/doc/remind; \
+ ${DESTDIR}${PREFIX}/share/doc/remind; \
${INSTALL_DATA} COPYRIGHT \
- ${PREFIX}/share/doc/remind
+ ${DESTDIR}${PREFIX}/share/doc/remind
${INSTALL_SCRIPT} ${WRKSRC}/www/rem2html \
- ${PREFIX}/bin/rem2html
+ ${DESTDIR}${PREFIX}/bin/rem2html
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index