aboutsummaryrefslogtreecommitdiff
path: root/japanese/kanji18
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /japanese/kanji18
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=211584
Diffstat (limited to 'japanese/kanji18')
-rw-r--r--japanese/kanji18/Makefile9
-rw-r--r--japanese/kanji18/files/DEINSTALL.tmpl4
-rw-r--r--japanese/kanji18/files/INSTALL.tmpl4
-rw-r--r--japanese/kanji18/pkg-descr2
4 files changed, 9 insertions, 10 deletions
diff --git a/japanese/kanji18/Makefile b/japanese/kanji18/Makefile
index 1722fc2b5e61..d20d759f31a1 100644
--- a/japanese/kanji18/Makefile
+++ b/japanese/kanji18/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kanji
PORTVERSION?= 1.0
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES= japanese x11-fonts
MASTER_SITES= ${MASTER_SITE_PORTS_JP}
MASTER_SITE_SUBDIR= ${DISTNAME}
@@ -20,13 +20,12 @@ COMMENT= X11 ${PKGNAMESUFFIX}-dot kanji font
EXTRACT_DEPENDS= gunshar:${PORTSDIR}/archivers/sharutils
BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
- bdftopcf:${X_CLIENTS_PORT}
-RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
+ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
DIST_SUBDIR= ${DISTNAME}
FONTSDIR= lib/X11/fonts/local
NO_WRKSUBDIR= yes
-USE_X_PREFIX= yes
.include <bsd.port.pre.mk>
@@ -54,7 +53,7 @@ post-patch:
pre-install:
@for file in INSTALL DEINSTALL; do \
${SED} -e 's,%%FONTSDIR%%,${FONTSDIR},g' \
- -e 's,%%X11BASE%%,${X11BASE},g' \
+ -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
< ${FILESDIR}/$${file}.tmpl > ${WRKSRC}/$${file}; \
done
@${SETENV} PKG_PREFIX=${PREFIX} \
diff --git a/japanese/kanji18/files/DEINSTALL.tmpl b/japanese/kanji18/files/DEINSTALL.tmpl
index e31f7ece328d..dac57525eaef 100644
--- a/japanese/kanji18/files/DEINSTALL.tmpl
+++ b/japanese/kanji18/files/DEINSTALL.tmpl
@@ -1,8 +1,8 @@
#!/bin/sh
if [ "x$2" = "xPOST-DEINSTALL" ]; then
- cd ${PKG_PREFIX}/%%FONTSDIR%%; %%X11BASE%%/bin/mkfontdir
- %%X11BASE%%/bin/xset fp rehash ||
+ cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir
+ %%LOCALBASE%%/bin/xset fp rehash ||
(
echo "**********************************************************"
echo "You should restart X server or do 'xset fp rehash' command"
diff --git a/japanese/kanji18/files/INSTALL.tmpl b/japanese/kanji18/files/INSTALL.tmpl
index c10a3d81cef2..6fa812b9fa02 100644
--- a/japanese/kanji18/files/INSTALL.tmpl
+++ b/japanese/kanji18/files/INSTALL.tmpl
@@ -1,8 +1,8 @@
#!/bin/sh
if [ "x$2" = "xPOST-INSTALL" ]; then
- cd ${PKG_PREFIX}/%%FONTSDIR%%; %%X11BASE%%/bin/mkfontdir
- %%X11BASE%%/bin/xset fp rehash ||
+ cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir
+ %%LOCALBASE%%/bin/xset fp rehash ||
(
echo "**********************************************************"
echo "You should restart X server or do 'xset fp rehash' command"
diff --git a/japanese/kanji18/pkg-descr b/japanese/kanji18/pkg-descr
index af1ed79144ff..3736148b6a6e 100644
--- a/japanese/kanji18/pkg-descr
+++ b/japanese/kanji18/pkg-descr
@@ -1,6 +1,6 @@
Japanese 18 dot gothic font.
Bitmap font is installed the following directory tree:
- ${X11BASE}/lib/X11/fonts/local/
+ ${LOCALBASE}/lib/X11/fonts/local/
MIHIRA Yoshiro