summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorkefren <kefren>2008-02-15 15:57:14 +0000
committerkefren <kefren>2008-02-15 15:57:14 +0000
commit443194dcaa135720dd5cda05ed64c8906e8d9fee (patch)
treedb2a06de7205f7c5682860a0f0f33974769e33d6 /lang
parent28db4c0e3befe98a4b7270d0d48a2804d392ac19 (diff)
downloadpkgsrc-443194dcaa135720dd5cda05ed64c8906e8d9fee.tar.gz
don't install a config file directly into etc/
Reported by wiz@
Diffstat (limited to 'lang')
-rw-r--r--lang/mono/Makefile12
-rw-r--r--lang/mono/PLIST4
2 files changed, 13 insertions, 3 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 22ca4c013cb..0a188fcc875 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2008/02/13 14:16:43 kefren Exp $
+# $NetBSD: Makefile,v 1.61 2008/02/15 15:57:14 kefren Exp $
DISTNAME= mono-${MONO_VERSION}
CATEGORIES= lang
@@ -69,7 +69,9 @@ CONF_FILES+= ${EGDIR}/1.0/machine.config \
CONF_FILES+= ${EGDIR}/2.0/DefaultWsdlHelpGenerator.aspx \
${PKG_SYSCONFDIR}/mono/2.0/DefaultWsdlHelpGenerator.aspx
CONF_FILES+= ${EGDIR}/2.0/machine.config \
- ${PKG_SYSCONFDIR}/mono/2.0/machine.confi
+ ${PKG_SYSCONFDIR}/mono/2.0/machine.config
+CONF_FILES+= ${EGDIR}/mconfig/config.xml \
+ ${PKG_SYSCONFDIR}/mono/mconfig/config.xml
TEST_TARGET= check
@@ -85,6 +87,12 @@ SUBST_MESSAGE.fix-mcs= Fixing mcs default prefix
SUBST_FILES.fix-mcs= mcs/build/config-default.make
SUBST_SED.fix-mcs= -e 's,/usr/local,${PREFIX},g'
+SUBST_CLASSES+= fix-cfgdir
+SUBST_STAGE.fix-cfgdir= post-patch
+SUBST_MESSAGE.fix-cfgdir= Fixing configuration files install dir
+SUBST_FILES.fix-cfgdir= mcs/tools/mconfig/Makefile
+SUBST_SED.fix-cfgdir= -e 's,$$(sysconfdir)/mono,${EGDIR},g'
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
diff --git a/lang/mono/PLIST b/lang/mono/PLIST
index 34ee87dc256..975523af23f 100644
--- a/lang/mono/PLIST
+++ b/lang/mono/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2008/02/13 14:16:43 kefren Exp $
+@comment $NetBSD: PLIST,v 1.23 2008/02/15 15:57:14 kefren Exp $
bin/al
bin/al2
bin/caspol
@@ -686,6 +686,7 @@ share/examples/mono/2.0/machine.config
share/examples/mono/2.0/web.config
share/examples/mono/browscap.ini
share/examples/mono/config
+share/examples/mono/mconfig/config.xml
share/jay/ACKNOWLEDGEMENTS
share/jay/NEW_FEATURES
share/jay/NOTES
@@ -731,6 +732,7 @@ share/mono-1.0/mono/cil/cil-opcodes.xml
@dirrm share/mono-1.0
@dirrm share/libgc-mono
@dirrm share/jay
+@dirrm share/examples/mono/mconfig
@dirrm share/examples/mono/2.0
@dirrm share/examples/mono/1.0
@dirrm share/examples/mono