summaryrefslogtreecommitdiff
path: root/lang/mono
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2008-02-15 15:57:14 +0000
committerkefren <kefren@pkgsrc.org>2008-02-15 15:57:14 +0000
commit0a7284a5266398c484690a53756e8bcb1df46e27 (patch)
treedb2a06de7205f7c5682860a0f0f33974769e33d6 /lang/mono
parenta4124e85eaf82915b54e36f3c3309f2d1c428e3c (diff)
downloadpkgsrc-0a7284a5266398c484690a53756e8bcb1df46e27.tar.gz
don't install a config file directly into etc/
Reported by wiz@
Diffstat (limited to 'lang/mono')
-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