pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Convert to user-destdir.
details: https://anonhg.NetBSD.org/pkgsrc/rev/866ad64f4134
branches: trunk
changeset: 554556:866ad64f4134
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Feb 16 09:56:09 2009 +0000
description:
Convert to user-destdir.
diffstat:
news/tin/Makefile | 9 ++++++---
sysutils/dirvish/Makefile | 14 +++++++++-----
textproc/doclifter/Makefile | 14 +++++++++-----
3 files changed, 24 insertions(+), 13 deletions(-)
diffs (106 lines):
diff -r b126939a68f4 -r 866ad64f4134 news/tin/Makefile
--- a/news/tin/Makefile Mon Feb 16 00:02:57 2009 +0000
+++ b/news/tin/Makefile Mon Feb 16 09:56:09 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2008/09/12 11:33:44 gdt Exp $
+# $NetBSD: Makefile,v 1.37 2009/02/16 09:56:09 wiz Exp $
#
DISTNAME= tin-1.8.3
@@ -21,6 +21,10 @@
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR=yes
+
+INSTALLATION_DIRS= share/doc/tin
+PKG_DESTDIR_SUPPORT= user-destdir
+
# for tinews.pl
USE_TOOLS+= perl:run yacc
REPLACE_PERL= tools/*.pl
@@ -52,8 +56,7 @@
${ECHO} '#define SMTP_SERVER_FILE "${PREFIX}/etc/smtpserver"' >>${WRKSRC}/include/autoconf.h
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tin
- ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${PREFIX}/share/doc/tin
+ ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin
.include "../../converters/libiconv/buildlink3.mk"
.include "../../converters/uulib/buildlink3.mk"
diff -r b126939a68f4 -r 866ad64f4134 sysutils/dirvish/Makefile
--- a/sysutils/dirvish/Makefile Mon Feb 16 00:02:57 2009 +0000
+++ b/sysutils/dirvish/Makefile Mon Feb 16 09:56:09 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/03/24 19:21:32 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/16 10:09:16 wiz Exp $
#
DISTNAME= dirvish-1.2.1
@@ -16,6 +16,7 @@
DEPENDS+= p5-Time-Period>=1.0:../../time/p5-Time-Period
PKG_SYSCONFSUBDIR= dirvish
+PKG_DESTDIR_SUPPORT= user-destdir
EXECUTABLES= dirvish dirvish-runall dirvish-expire dirvish-locate
MAN5= dirvish.conf.5
@@ -37,16 +38,19 @@
do-install:
for f in ${EXECUTABLES}; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/sbin; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/sbin; \
done
for f in ${MAN5}; do \
- ${INSTALL_MAN} ${WRKSRC}/$$f ${PREFIX}/${PKGMANDIR}/man5; \
+ ${INSTALL_MAN} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5; \
done
for f in ${MAN8}; do \
- ${INSTALL_MAN} ${WRKSRC}/$$f ${PREFIX}/${PKGMANDIR}/man8; \
+ ${INSTALL_MAN} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
done
for f in ${DOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/dirvish; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/share/doc/dirvish; \
done
.include "../../mk/bsd.pkg.mk"
diff -r b126939a68f4 -r 866ad64f4134 textproc/doclifter/Makefile
--- a/textproc/doclifter/Makefile Mon Feb 16 00:02:57 2009 +0000
+++ b/textproc/doclifter/Makefile Mon Feb 16 09:56:09 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2009/02/09 22:56:27 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2009/02/16 10:25:16 wiz Exp $
#
DISTNAME= doclifter-2.3
@@ -14,6 +14,8 @@
PYTHON_PATCH_SCRIPTS= doclifter manlifter
+PKG_DESTDIR_SUPPORT= user-destdir
+
SUBST_CLASSES+= bin-path
SUBST_STAGE.bin-path= pre-configure
SUBST_FILES.bin-path= manlifter
@@ -22,10 +24,12 @@
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doclifter.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/manlifter.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doclifter.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/manlifter.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index