summaryrefslogtreecommitdiff
path: root/x11/mlterm
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2005-06-06 16:13:51 +0000
committerhira <hira@pkgsrc.org>2005-06-06 16:13:51 +0000
commitbf9d56b67c093d38588aee5b7d6a065cf40e51cf (patch)
tree6d6c487d7ce426746b4d92b67dd11ff19efc3f70 /x11/mlterm
parent6cbd5d164a0284bf3974d75816f9166dbcb09d41 (diff)
downloadpkgsrc-bf9d56b67c093d38588aee5b7d6a065cf40e51cf.tar.gz
- Use PKG_SYSCONFDIR framework.
- Use ${PKGLOCALEDIR}/locale instead of share/locale.
Diffstat (limited to 'x11/mlterm')
-rw-r--r--x11/mlterm/Makefile12
-rw-r--r--x11/mlterm/PLIST21
2 files changed, 15 insertions, 18 deletions
diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile
index 083acaab824..3cae05dc6c1 100644
--- a/x11/mlterm/Makefile
+++ b/x11/mlterm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2005/06/01 18:03:29 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2005/06/06 16:13:51 hira Exp $
DISTNAME= mlterm-2.9.2
CATEGORIES= x11
@@ -14,12 +14,22 @@ NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-* NetBSD-1.5[A-S]-*
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+PKG_SYSCONFSUBDIR= mlterm
+
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-imagelib=gdk-pixbuf
CONFIGURE_ARGS+= --with-type-engines=xft
CONFIGURE_ARGS+= --without-libiconv-prefix
CONFIGURE_ARGS+= --without-libintl-prefix
+CONFIGURE_ARGS+= --datadir=${PREFIX}/${PKGLOCALEDIR}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
+
+.for _f in aafont color font key main menu taafont termcap tfont vaafont \
+ vfont xim
+CONF_FILES+= ${PKG_SYSCONFDIR}/${_f}
+.endfor
SUBST_CLASSES+= link
SUBST_MESSAGE.link= "Fixing hardcoded paths and link options."
diff --git a/x11/mlterm/PLIST b/x11/mlterm/PLIST
index 6b42e3a2797..370571059b6 100644
--- a/x11/mlterm/PLIST
+++ b/x11/mlterm/PLIST
@@ -1,19 +1,7 @@
-@comment $NetBSD: PLIST,v 1.12 2005/03/06 17:50:49 hira Exp $
+@comment $NetBSD: PLIST,v 1.13 2005/06/06 16:13:51 hira Exp $
bin/mlcc
bin/mlclient
bin/mlterm
-etc/mlterm/aafont
-etc/mlterm/color
-etc/mlterm/font
-etc/mlterm/key
-etc/mlterm/main
-etc/mlterm/menu
-etc/mlterm/taafont
-etc/mlterm/termcap
-etc/mlterm/tfont
-etc/mlterm/vaafont
-etc/mlterm/vfont
-etc/mlterm/xim
lib/libkik.la
lib/libmkf.la
lib/mlterm/libathena.la
@@ -27,8 +15,7 @@ libexec/mlconfig
libexec/mlterm-menu
man/man1/mlclient.1
man/man1/mlterm.1
-share/locale/de/LC_MESSAGES/mlconfig.mo
-share/locale/ja/LC_MESSAGES/mlconfig.mo
-share/locale/zh_TW/LC_MESSAGES/mlconfig.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/mlconfig.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/mlconfig.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/mlconfig.mo
@dirrm lib/mlterm
-@dirrm etc/mlterm