summaryrefslogtreecommitdiff
path: root/fonts/ja-shinonome/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/ja-shinonome/Makefile')
-rw-r--r--fonts/ja-shinonome/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/fonts/ja-shinonome/Makefile b/fonts/ja-shinonome/Makefile
index 82fb5886efb..12f3ebd4bcb 100644
--- a/fonts/ja-shinonome/Makefile
+++ b/fonts/ja-shinonome/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2008/01/22 17:09:54 tnn Exp $
+# $NetBSD: Makefile,v 1.21 2008/04/05 14:56:09 obache Exp $
#
-DISTNAME= shinonome-0.9.10-src
-PKGNAME= ja-shinonome-0.9.10
-PKGREVISION= 2
+DISTNAME= shinonome-0.9.11-src
+PKGNAME= ja-shinonome-0.9.11
CATEGORIES= fonts x11 japanese
MASTER_SITES= http://openlab.ring.gr.jp/efont/dist/shinonome/ \
http://openlab.ring.gr.jp/efont/dist/shinonome/old/
@@ -13,6 +12,8 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://openlab.ring.gr.jp/efont/shinonome/
COMMENT= 12, 14, 16 dots bitmap fonts for Japanese, iso8859-1
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_X11BASE= YES
USE_TOOLS+= gawk gmake mkfontdir perl gzip
@@ -28,11 +29,11 @@ CONFIGURE_ARGS+= --with-fontdir=${FONTDIR:Q}
CONFIGURE_ARGS+= --disable-progressbar
CONFIGURE_ARGS+= --with-foundry=${FOUNDRY:Q}
+INSTALL_MAKE_FLAGS+= FONTDIR=${DESTDIR:Q}${FONTDIR:Q}
+
INSTALLATION_DIRS= lib/X11/fonts/local share/examples
-do-install:
- cd ${WRKSRC}; \
- ${MAKE_PROGRAM} install; \
- ${INSTALL_DATA} ${WRKSRC}/fonts.alias ${ALIAS_SHINONOME}
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/fonts.alias ${DESTDIR}${ALIAS_SHINONOME}
.include "../../mk/bsd.pkg.mk"