summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-18 12:00:44 +0000
committerjoerg <joerg>2008-04-18 12:00:44 +0000
commit4be6986a214212a566c2e9c6898830c767439254 (patch)
tree75167735a5ef4a9e2ec5b187ce4ae359a6a30dbe /textproc
parent627431a0691fe3df3079ae56025f342b245f29ea (diff)
downloadpkgsrc-4be6986a214212a566c2e9c6898830c767439254.tar.gz
Supports DESTDIR. Install documentation into share/doc/iso-codes, no
need to distinguish versions here.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/iso-codes/Makefile12
-rw-r--r--textproc/iso-codes/PLIST6
2 files changed, 11 insertions, 7 deletions
diff --git a/textproc/iso-codes/Makefile b/textproc/iso-codes/Makefile
index 71a41b4e70e..bf544f91beb 100644
--- a/textproc/iso-codes/Makefile
+++ b/textproc/iso-codes/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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 @@ DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
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 --git a/textproc/iso-codes/PLIST b/textproc/iso-codes/PLIST
index df5e086a01e..d7d3b9b3806 100644
--- a/textproc/iso-codes/PLIST
+++ b/textproc/iso-codes/PLIST
@@ -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