summaryrefslogtreecommitdiff
path: root/www/bins/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-17 03:50:19 +0000
committerjlam <jlam>2005-06-17 03:50:19 +0000
commitf7a31a0cbc0ecfc696537d41c2c5bf92b2bac14c (patch)
tree067490bfc0f733c9b522363134ffa36e43b49192 /www/bins/Makefile
parent516d949f51bec91a74690755d12106271036f8f8 (diff)
downloadpkgsrc-f7a31a0cbc0ecfc696537d41c2c5bf92b2bac14c.tar.gz
Create directories before installing files into them.
Diffstat (limited to 'www/bins/Makefile')
-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