pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/iso-codes Supports DESTDIR. Install documenta...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ff43c9451770
branches: trunk
changeset: 541283:ff43c9451770
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Apr 18 12:00:44 2008 +0000
description:
Supports DESTDIR. Install documentation into share/doc/iso-codes, no
need to distinguish versions here.
diffstat:
textproc/iso-codes/Makefile | 12 ++++++++----
textproc/iso-codes/PLIST | 6 +++---
2 files changed, 11 insertions(+), 7 deletions(-)
diffs (50 lines):
diff -r 1abec47a3d7c -r ff43c9451770 textproc/iso-codes/Makefile
--- a/textproc/iso-codes/Makefile Fri Apr 18 12:00:13 2008 +0000
+++ b/textproc/iso-codes/Makefile Fri Apr 18 12:00:44 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2008/03/14 20:01:14 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2008/04/18 12:00:44 joerg Exp $
#
DISTNAME= iso-codes-2.0
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/
@@ -9,6 +10,8 @@
HOMEPAGE= http://alioth.debian.org/projects/pkg-isocodes/
COMMENT= List of country, language and currency names
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
@@ -22,10 +25,11 @@
PYTHON_FOR_BUILD_ONLY= yes
+INSTALLATION_DIRS= share/doc/iso-codes
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGNAME_NOREV}
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGNAME_NOREV}
- ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/${PKGNAME_NOREV}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/iso-codes
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/iso-codes
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 1abec47a3d7c -r ff43c9451770 textproc/iso-codes/PLIST
--- a/textproc/iso-codes/PLIST Fri Apr 18 12:00:13 2008 +0000
+++ b/textproc/iso-codes/PLIST Fri Apr 18 12:00:44 2008 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.10 2008/03/04 10:57:51 wiz Exp $
-share/doc/${PKGNAME}/README
-share/doc/${PKGNAME}/TODO
+@comment $NetBSD: PLIST,v 1.11 2008/04/18 12:00:44 joerg Exp $
+share/doc/iso-codes/README
+share/doc/iso-codes/TODO
share/iso-codes/iso_3166.tab
share/iso-codes/iso_639.tab
share/locale/af/LC_MESSAGES/iso_3166.mo
Home |
Main Index |
Thread Index |
Old Index