summaryrefslogtreecommitdiff
path: root/www/bins
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-17 03:50:19 +0000
committerjlam <jlam@pkgsrc.org>2005-06-17 03:50:19 +0000
commite46a9dd38060ef6414b4db2f15402a701e32c7b7 (patch)
tree067490bfc0f733c9b522363134ffa36e43b49192 /www/bins
parent412af280c005dfc946b85f88a9e754232c586fc7 (diff)
downloadpkgsrc-e46a9dd38060ef6414b4db2f15402a701e32c7b7.tar.gz
Create directories before installing files into them.
Diffstat (limited to 'www/bins')
-rw-r--r--www/bins/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/bins/Makefile b/www/bins/Makefile
index c715b3b6a27..1d75bb2d1eb 100644
--- a/www/bins/Makefile
+++ b/www/bins/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2005/04/11 21:47:52 tv Exp $
+# $NetBSD: Makefile,v 1.34 2005/06/17 03:50:40 jlam Exp $
#
DISTNAME= bins-1.1.27
@@ -31,6 +31,8 @@ USE_PKGLOCALEDIR= YES
# have previous versions in pkgsrc.
REPLACE_PERL= bins bins_edit bins-edit-gui bins_cleanupgallery bins_txt2xml
+INSTALLATION_DIRS= bin man/man1
+
post-patch:
${MV} ${WRKSRC}/bins ${WRKSRC}/bins.bak
${SED} -e 's;/etc/bins;${PKG_SYSCONFDIR}/bins;g' \
@@ -103,6 +105,8 @@ do-install:
${PREFIX}/share/examples/bins/templates.satyap/static/
# Translations
for lang in de eo es fi fr it ja nl pl ru zh_TW; do \
+ ${INSTALL_DATA_DIR} \
+ ${PREFIX}/${PKGLOCALEDIR}/locale/$$lang/LC_MESSAGES; \
${INSTALL_DATA} ${WRKSRC}/intl/$$lang.mo \
${PREFIX}/${PKGLOCALEDIR}/locale/$$lang/LC_MESSAGES/bins.mo; \
done