summaryrefslogtreecommitdiff
path: root/devel/GConf
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /devel/GConf
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'devel/GConf')
-rw-r--r--devel/GConf/Makefile6
-rw-r--r--devel/GConf/pkg/MESSAGE6
2 files changed, 4 insertions, 8 deletions
diff --git a/devel/GConf/Makefile b/devel/GConf/Makefile
index 79e82165c02..93721919487 100644
--- a/devel/GConf/Makefile
+++ b/devel/GConf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/11/27 16:00:19 tron Exp $
+# $NetBSD: Makefile,v 1.9 2001/01/29 11:34:23 wiz Exp $
#
DISTNAME= GConf-0.11
@@ -13,8 +13,6 @@ DEPENDS+= oaf-*:../../devel/oaf
DEPENDS+= guile>=1.3.4:../../lang/guile
BUILD_DEPENDS+= msgfmt:../../devel/gettext
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
GNU_CONFIGURE= YES
USE_X11BASE= YES
USE_LIBINTL= YES
@@ -25,8 +23,6 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11PREFIX}/include"
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
post-install:
- ${SED} -e 's#@@X11PREFIX@@#${X11PREFIX}#g' < ${PKGDIR}/MESSAGE \
- > ${MESSAGE_FILE}
${TEST} ${PREFIX} = ${LOCALBASE} || \
${LN} -fs ${PREFIX}/share/aclocal/gconf-1.m4 \
${LOCALBASE}/share/aclocal/gconf-1.m4
diff --git a/devel/GConf/pkg/MESSAGE b/devel/GConf/pkg/MESSAGE
index 3a9ae6e35b4..c9f038d11e7 100644
--- a/devel/GConf/pkg/MESSAGE
+++ b/devel/GConf/pkg/MESSAGE
@@ -1,9 +1,9 @@
-$NetBSD: MESSAGE,v 1.1.1.1 2000/08/30 06:19:08 rh Exp $
-
==========================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:23 wiz Exp $
+
GConf has now been installed on your system.
If this is your first install of GConf, you may need to move
- @@X11PREFIX@@/etc/gconf/1/path.example to @@X11PREFIX@@/etc/gconf/1/path
+ ${X11PREFIX}/etc/gconf/1/path.example to ${X11PREFIX}/etc/gconf/1/path
so that the default configuration is sane.
==========================================================================