summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-05 13:18:47 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-05 13:18:47 +0800
commitdcc8e5ad1ff836be285c8dbe0bafc4d3a5cbfffb (patch)
tree00331290462b8b80fec9f6766dc9371172eaf444 /www
parentaf4e08739c2b99a98e22553a997ba1cee54f2e1f (diff)
downloadmarcuscom-ports-dcc8e5ad1ff836be285c8dbe0bafc4d3a5cbfffb.tar
marcuscom-ports-dcc8e5ad1ff836be285c8dbe0bafc4d3a5cbfffb.tar.gz
marcuscom-ports-dcc8e5ad1ff836be285c8dbe0bafc4d3a5cbfffb.tar.bz2
marcuscom-ports-dcc8e5ad1ff836be285c8dbe0bafc4d3a5cbfffb.tar.lz
marcuscom-ports-dcc8e5ad1ff836be285c8dbe0bafc4d3a5cbfffb.tar.xz
marcuscom-ports-dcc8e5ad1ff836be285c8dbe0bafc4d3a5cbfffb.tar.zst
marcuscom-ports-dcc8e5ad1ff836be285c8dbe0bafc4d3a5cbfffb.zip
Unmark IGNORE, and fix the MIME plist issues.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3035 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r--www/screem/Makefile6
-rw-r--r--www/screem/pkg-plist29
2 files changed, 18 insertions, 17 deletions
diff --git a/www/screem/Makefile b/www/screem/Makefile
index c6f52cf34..c6b03ef99 100644
--- a/www/screem/Makefile
+++ b/www/screem/Makefile
@@ -35,8 +35,6 @@ USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl
.endif
-IGNORE= Has some MIME-related plist issues
-
USE_PERL5= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -45,6 +43,10 @@ CONFIGURE_ARGS+= --without-included-neon
post-patch:
@${REINPLACE_CMD} -e 's|\$${DATADIRNAME}/\$${PACKAGE}/pixmaps|\$${DATADIRNAME}/gnome/\$${PACKAGE}/pixmaps|g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|$$(datadir)/mime/|${PREFIX}/share/mime/| ; \
+ s|$$(datadir)/mime$$|${PREFIX}/share/mime|' \
+ ${WRKSRC}/data/mime/Makefile.in \
+ ${WRKSRC}/data/tagtrees/Makefile.in
post-configure:
@${REINPLACE_CMD} -e 's|\/\* #undef HAVE_LIMITS_H \*\/|#define HAVE_LIMITS_H 1|g' ${WRKSRC}/config.h
diff --git a/www/screem/pkg-plist b/www/screem/pkg-plist
index db011c8aa..ae424d011 100644
--- a/www/screem/pkg-plist
+++ b/www/screem/pkg-plist
@@ -61,21 +61,18 @@ share/gnome/help/screem/C/figures/tree.png
share/gnome/help/screem/C/legal.xml
share/gnome/help/screem/C/screem.xml
share/gnome/mime-info/screem.keys
-share/gnome/mime/XMLnamespaces
-share/gnome/mime/application/vnd.wap.wmlc.xml
-share/gnome/mime/application/vnd.wap.wmlscriptc.xml
-share/gnome/mime/application/x-screem-tag-tree.xml
-share/gnome/mime/application/x-screem.xml
-share/gnome/mime/application/xhtml+xml.xml
-share/gnome/mime/globs
-share/gnome/mime/image/vnd.wap.wbmp.xml
-share/gnome/mime/magic
-share/gnome/mime/packages/screem.xml
-share/gnome/mime/text/html.xml
-share/gnome/mime/text/vnd.wap.wml.xml
-share/gnome/mime/text/vnd.wap.wmlscript.xml
-share/gnome/mime/text/x-component.xml
-share/gnome/mime/text/x-javascript.xml
+share/mime/application/vnd.wap.wmlc.xml
+share/mime/application/vnd.wap.wmlscriptc.xml
+share/mime/application/x-screem-tag-tree.xml
+share/mime/application/x-screem.xml
+share/mime/application/xhtml+xml.xml
+share/mime/image/vnd.wap.wbmp.xml
+share/mime/packages/screem.xml
+share/mime/text/html.xml
+share/mime/text/vnd.wap.wml.xml
+share/mime/text/vnd.wap.wmlscript.xml
+share/mime/text/x-component.xml
+share/mime/text/x-javascript.xml
share/gnome/omf/screem/screem-C.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/screem/screem-C.omf 2>/dev/null || /usr/bin/true
share/gnome/pixmaps/screem.png
@@ -229,3 +226,5 @@ share/locale/zh_CN/LC_MESSAGES/screem.mo
@dirrm share/gnome/screem/ui
@dirrm share/gnome/screem
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/screem/screem-C.omf 2>/dev/null || /usr/bin/true
+@exec update-mime-database %D/share/mime
+@unexec update-mime-database %D/share/mime