aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/shared-mime-info/Makefile6
-rw-r--r--misc/shared-mime-info/distinfo2
-rw-r--r--misc/shared-mime-info/files/patch-Makefile.in11
-rw-r--r--misc/shared-mime-info/pkg-plist361
4 files changed, 376 insertions, 4 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
index 8c77742d1fee..cf5e0a928fce 100644
--- a/misc/shared-mime-info/Makefile
+++ b/misc/shared-mime-info/Makefile
@@ -5,13 +5,17 @@
# $FreeBSD$
PORTNAME= shared-mime-info
-PORTVERSION= 0.7
+PORTVERSION= 0.8
CATEGORIES= misc
MASTER_SITES= http://www.freedesktop.org/standards/shared-mime-info/
DISTNAME= shared-mime-info-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
+ glib-2.0.0:${PORTSDIR}/devel/glib20
+
GNU_CONFIGURE= yes
.include <bsd.port.mk>
diff --git a/misc/shared-mime-info/distinfo b/misc/shared-mime-info/distinfo
index b1f675b1ae3b..e209b611f500 100644
--- a/misc/shared-mime-info/distinfo
+++ b/misc/shared-mime-info/distinfo
@@ -1 +1 @@
-MD5 (shared-mime-info-0.7.tar.gz) = c6607a811864d94a559ebf63a3f1a34f
+MD5 (shared-mime-info-0.8.tar.gz) = 10494f65b7a6da98ab200d6adbb45ac3
diff --git a/misc/shared-mime-info/files/patch-Makefile.in b/misc/shared-mime-info/files/patch-Makefile.in
new file mode 100644
index 000000000000..f9ab923a7517
--- /dev/null
+++ b/misc/shared-mime-info/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun Jul 28 17:48:22 2002
++++ Makefile.in Sun Jul 28 17:47:36 2002
+@@ -104,7 +104,7 @@
+ update_mime_database_LDFLAGS =
+
+ DEFS = @DEFS@
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
++DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(LOCALBASE)/include
+ CPPFLAGS = @CPPFLAGS@
+ LIBS = @LIBS@
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
diff --git a/misc/shared-mime-info/pkg-plist b/misc/shared-mime-info/pkg-plist
index 53eab1aabec5..298497e5117f 100644
--- a/misc/shared-mime-info/pkg-plist
+++ b/misc/shared-mime-info/pkg-plist
@@ -1,3 +1,360 @@
-share/mime/mime-info/freedesktop-shared.mimeinfo
-@unexec rmdir %D/share/mime/mime-info 2>/dev/null || true
+bin/update-mime-database
+share/mime/application/andrew-inset.xml
+share/mime/application/illustrator.xml
+share/mime/application/mac-binhex40.xml
+share/mime/application/msword.xml
+share/mime/application/octet-stream.xml
+share/mime/application/oda.xml
+share/mime/application/pdf.xml
+share/mime/application/pgp-encrypted.xml
+share/mime/application/pgp-keys.xml
+share/mime/application/pgp-signature.xml
+share/mime/application/pgp.xml
+share/mime/application/pkcs7-mime.xml
+share/mime/application/pkcs7-signature.xml
+share/mime/application/postscript.xml
+share/mime/application/rtf.xml
+share/mime/application/smil.xml
+share/mime/application/vnd.lotus-1-2-3.xml
+share/mime/application/vnd.ms-excel.xml
+share/mime/application/vnd.ms-powerpoint.xml
+share/mime/application/vnd.ms-word.xml
+share/mime/application/vnd.rn-realmedia.xml
+share/mime/application/vnd.stardivision.calc.xml
+share/mime/application/vnd.stardivision.chart.xml
+share/mime/application/vnd.stardivision.draw.xml
+share/mime/application/vnd.stardivision.impress.xml
+share/mime/application/vnd.stardivision.mail.xml
+share/mime/application/vnd.stardivision.math.xml
+share/mime/application/vnd.stardivision.writer.xml
+share/mime/application/vnd.sun.xml.calc.template.xml
+share/mime/application/vnd.sun.xml.calc.xml
+share/mime/application/vnd.sun.xml.draw.template.xml
+share/mime/application/vnd.sun.xml.draw.xml
+share/mime/application/vnd.sun.xml.impress.template.xml
+share/mime/application/vnd.sun.xml.impress.xml
+share/mime/application/vnd.sun.xml.math.xml
+share/mime/application/vnd.sun.xml.writer.global.xml
+share/mime/application/vnd.sun.xml.writer.template.xml
+share/mime/application/vnd.sun.xml.writer.xml
+share/mime/application/wordperfect.xml
+share/mime/application/x-abiword.xml
+share/mime/application/x-amipro.xml
+share/mime/application/x-applix-spreadsheet.xml
+share/mime/application/x-applix-word.xml
+share/mime/application/x-arc.xml
+share/mime/application/x-archive.xml
+share/mime/application/x-arj.xml
+share/mime/application/x-asp.xml
+share/mime/application/x-awk.xml
+share/mime/application/x-bcpio.xml
+share/mime/application/x-bzip-compressed-tar.xml
+share/mime/application/x-bzip.xml
+share/mime/application/x-cgi.xml
+share/mime/application/x-chess-pgn.xml
+share/mime/application/x-class-file.xml
+share/mime/application/x-compress.xml
+share/mime/application/x-compressed-tar.xml
+share/mime/application/x-core.xml
+share/mime/application/x-cpio-compressed.xml
+share/mime/application/x-cpio.xml
+share/mime/application/x-csh.xml
+share/mime/application/x-dbase.xml
+share/mime/application/x-dbm.xml
+share/mime/application/x-dc-rom.xml
+share/mime/application/x-deb.xml
+share/mime/application/x-designer.xml
+share/mime/application/x-desktop.xml
+share/mime/application/x-dia-diagram.xml
+share/mime/application/x-dvi.xml
+share/mime/application/x-e-theme.xml
+share/mime/application/x-egon.xml
+share/mime/application/x-executable.xml
+share/mime/application/x-font-afm.xml
+share/mime/application/x-font-bdf.xml
+share/mime/application/x-font-dos.xml
+share/mime/application/x-font-framemaker.xml
+share/mime/application/x-font-libgrx.xml
+share/mime/application/x-font-linux-psf.xml
+share/mime/application/x-font-pcf.xml
+share/mime/application/x-font-speedo.xml
+share/mime/application/x-font-sunos-news.xml
+share/mime/application/x-font-tex-tfm.xml
+share/mime/application/x-font-tex.xml
+share/mime/application/x-font-ttf.xml
+share/mime/application/x-font-vfont.xml
+share/mime/application/x-font.xml
+share/mime/application/x-frame.xml
+share/mime/application/x-gameboy-rom.xml
+share/mime/application/x-gdbm.xml
+share/mime/application/x-genesis-rom.xml
+share/mime/application/x-gettext-translation.xml
+share/mime/application/x-glade.xml
+share/mime/application/x-gmc-link.xml
+share/mime/application/x-gnucash.xml
+share/mime/application/x-gnumeric.xml
+share/mime/application/x-graphite.xml
+share/mime/application/x-gtar.xml
+share/mime/application/x-gtktalog.xml
+share/mime/application/x-gzip.xml
+share/mime/application/x-gzpostscript.xml
+share/mime/application/x-hdf.xml
+share/mime/application/x-jar.xml
+share/mime/application/x-java.xml
+share/mime/application/x-jbuilder-project.xml
+share/mime/application/x-karbon.xml
+share/mime/application/x-kchart.xml
+share/mime/application/x-kformula.xml
+share/mime/application/x-killustrator.xml
+share/mime/application/x-kivio.xml
+share/mime/application/x-kontour.xml
+share/mime/application/x-kpovmodeler.xml
+share/mime/application/x-kpresenter.xml
+share/mime/application/x-krita.xml
+share/mime/application/x-kspread-crypt.xml
+share/mime/application/x-kspread.xml
+share/mime/application/x-ksysv-package.xml
+share/mime/application/x-kugar.xml
+share/mime/application/x-kword-crypt.xml
+share/mime/application/x-kword.xml
+share/mime/application/x-lha.xml
+share/mime/application/x-lhz.xml
+share/mime/application/x-linguist.xml
+share/mime/application/x-lyx.xml
+share/mime/application/x-lzop.xml
+share/mime/application/x-mif.xml
+share/mime/application/x-mswinurl.xml
+share/mime/application/x-mswrite.xml
+share/mime/application/x-msx-rom.xml
+share/mime/application/x-n64-rom.xml
+share/mime/application/x-nautilus-link.xml
+share/mime/application/x-nes-rom.xml
+share/mime/application/x-netcdf.xml
+share/mime/application/x-object.xml
+share/mime/application/x-ogg.xml
+share/mime/application/x-oleo.xml
+share/mime/application/x-palm-database.xml
+share/mime/application/x-pef-executable.xml
+share/mime/application/x-perl.xml
+share/mime/application/x-php.xml
+share/mime/application/x-pkcs12.xml
+share/mime/application/x-profile.xml
+share/mime/application/x-pw.xml
+share/mime/application/x-python-bytecode.xml
+share/mime/application/x-python.xml
+share/mime/application/x-quattropro.xml
+share/mime/application/x-qw.xml
+share/mime/application/x-rar.xml
+share/mime/application/x-reject.xml
+share/mime/application/x-rpm.xml
+share/mime/application/x-sc.xml
+share/mime/application/x-shar.xml
+share/mime/application/x-shared-library-la.xml
+share/mime/application/x-sharedlib.xml
+share/mime/application/x-shellscript.xml
+share/mime/application/x-shockwave-flash.xml
+share/mime/application/x-siag.xml
+share/mime/application/x-slp.xml
+share/mime/application/x-sms-rom.xml
+share/mime/application/x-stuffit.xml
+share/mime/application/x-sv4cpio.xml
+share/mime/application/x-sv4crc.xml
+share/mime/application/x-tar.xml
+share/mime/application/x-tarz.xml
+share/mime/application/x-tex-gf.xml
+share/mime/application/x-tex-pk.xml
+share/mime/application/x-tgif.xml
+share/mime/application/x-theme.xml
+share/mime/application/x-toutdoux.xml
+share/mime/application/x-trash.xml
+share/mime/application/x-troff-man-compressed.xml
+share/mime/application/x-troff-man.xml
+share/mime/application/x-troff.xml
+share/mime/application/x-tzo.xml
+share/mime/application/x-ustar.xml
+share/mime/application/x-wais-source.xml
+share/mime/application/x-x509-ca-cert.xml
+share/mime/application/x-zerosize.xml
+share/mime/application/x-zoo.xml
+share/mime/application/zip.xml
+share/mime/audio/ac3.xml
+share/mime/audio/basic.xml
+share/mime/audio/prs.sid.xml
+share/mime/audio/vnd.rn-realaudio.xml
+share/mime/audio/x-adpcm.xml
+share/mime/audio/x-aifc.xml
+share/mime/audio/x-aiff.xml
+share/mime/audio/x-aiffc.xml
+share/mime/audio/x-it.xml
+share/mime/audio/x-midi.xml
+share/mime/audio/x-mod.xml
+share/mime/audio/x-mp3-playlist.xml
+share/mime/audio/x-mp3.xml
+share/mime/audio/x-mpeg.xml
+share/mime/audio/x-mpegurl.xml
+share/mime/audio/x-pn-realaudio.xml
+share/mime/audio/x-riff.xml
+share/mime/audio/x-s3m.xml
+share/mime/audio/x-scpls.xml
+share/mime/audio/x-stm.xml
+share/mime/audio/x-voc.xml
+share/mime/audio/x-wav.xml
+share/mime/audio/x-xi.xml
+share/mime/audio/x-xm.xml
+share/mime/globs
+share/mime/image/bmp.xml
+share/mime/image/cgm.xml
+share/mime/image/fax-g3.xml
+share/mime/image/g3fax.xml
+share/mime/image/gif.xml
+share/mime/image/ief.xml
+share/mime/image/jpeg.xml
+share/mime/image/png.xml
+share/mime/image/svg+xml.xml
+share/mime/image/tiff.xml
+share/mime/image/vnd.dwg.xml
+share/mime/image/vnd.dxf.xml
+share/mime/image/x-3ds.xml
+share/mime/image/x-applix-graphics.xml
+share/mime/image/x-cmu-raster.xml
+share/mime/image/x-compressed-xcf.xml
+share/mime/image/x-djvu.xml
+share/mime/image/x-eps.xml
+share/mime/image/x-ico.xml
+share/mime/image/x-iff.xml
+share/mime/image/x-ilbm.xml
+share/mime/image/x-jng.xml
+share/mime/image/x-lwo.xml
+share/mime/image/x-lws.xml
+share/mime/image/x-msod.xml
+share/mime/image/x-niff.xml
+share/mime/image/x-pcx.xml
+share/mime/image/x-photo-cd.xml
+share/mime/image/x-portable-anymap.xml
+share/mime/image/x-portable-bitmap.xml
+share/mime/image/x-portable-graymap.xml
+share/mime/image/x-portable-pixmap.xml
+share/mime/image/x-psd.xml
+share/mime/image/x-rgb.xml
+share/mime/image/x-tga.xml
+share/mime/image/x-wmf.xml
+share/mime/image/x-xbitmap.xml
+share/mime/image/x-xcf.xml
+share/mime/image/x-xfig.xml
+share/mime/image/x-xpixmap.xml
+share/mime/image/x-xwindowdump.xml
+share/mime/inode/blockdevice.xml
+share/mime/inode/chardevice.xml
+share/mime/inode/directory.xml
+share/mime/inode/fifo.xml
+share/mime/inode/socket.xml
+share/mime/inode/symlink.xml
+share/mime/magic
+share/mime/message/delivery-status.xml
+share/mime/message/disposition-notification.xml
+share/mime/message/external-body.xml
+share/mime/message/news.xml
+share/mime/message/partial.xml
+share/mime/message/rfc822.xml
+share/mime/message/x-gnu-rmail.xml
+share/mime/model/vrml.xml
+share/mime/multipart/alternative.xml
+share/mime/multipart/appledouble.xml
+share/mime/multipart/digest.xml
+share/mime/multipart/encrypted.xml
+share/mime/multipart/mixed.xml
+share/mime/multipart/related.xml
+share/mime/multipart/report.xml
+share/mime/multipart/signed.xml
+share/mime/multipart/x-mixed-replace.xml
+share/mime/packages/freedesktop.org.xml
+share/mime/text/abiword.xml
+share/mime/text/calendar.xml
+share/mime/text/css.xml
+share/mime/text/directory.xml
+share/mime/text/enriched.xml
+share/mime/text/html.xml
+share/mime/text/htmlh.xml
+share/mime/text/mathml.xml
+share/mime/text/plain.xml
+share/mime/text/rdf.xml
+share/mime/text/rfc822-headers.xml
+share/mime/text/richtext.xml
+share/mime/text/rss.xml
+share/mime/text/sgml.xml
+share/mime/text/spreadsheet.xml
+share/mime/text/tab-separated-values.xml
+share/mime/text/vnd.wap.wml.xml
+share/mime/text/x-adasrc.xml
+share/mime/text/x-authors.xml
+share/mime/text/x-bibtex.xml
+share/mime/text/x-c++hdr.xml
+share/mime/text/x-c++src.xml
+share/mime/text/x-chdr.xml
+share/mime/text/x-comma-separated-values.xml
+share/mime/text/x-copying.xml
+share/mime/text/x-credits.xml
+share/mime/text/x-csrc.xml
+share/mime/text/x-dcl.xml
+share/mime/text/x-diff.xml
+share/mime/text/x-dsl.xml
+share/mime/text/x-dtd.xml
+share/mime/text/x-emacs-lisp.xml
+share/mime/text/x-fortran.xml
+share/mime/text/x-gettext-translation.xml
+share/mime/text/x-gtkrc.xml
+share/mime/text/x-haskell.xml
+share/mime/text/x-idl.xml
+share/mime/text/x-install.xml
+share/mime/text/x-java.xml
+share/mime/text/x-ksh.xml
+share/mime/text/x-ksysv-log.xml
+share/mime/text/x-literate-haskell.xml
+share/mime/text/x-log.xml
+share/mime/text/x-makefile.xml
+share/mime/text/x-moc.xml
+share/mime/text/x-objcsrc.xml
+share/mime/text/x-pascal.xml
+share/mime/text/x-patch.xml
+share/mime/text/x-readme.xml
+share/mime/text/x-scheme.xml
+share/mime/text/x-setext.xml
+share/mime/text/x-speech.xml
+share/mime/text/x-sql.xml
+share/mime/text/x-tcl.xml
+share/mime/text/x-tex.xml
+share/mime/text/x-texinfo.xml
+share/mime/text/x-troff-me.xml
+share/mime/text/x-troff-mm.xml
+share/mime/text/x-troff-ms.xml
+share/mime/text/x-vcalendar.xml
+share/mime/text/x-vcard.xml
+share/mime/text/x-xslfo.xml
+share/mime/text/x-xslt.xml
+share/mime/text/xmcd.xml
+share/mime/text/xml.xml
+share/mime/video/isivideo.xml
+share/mime/video/mpeg.xml
+share/mime/video/quicktime.xml
+share/mime/video/vivo.xml
+share/mime/video/wavelet.xml
+share/mime/video/x-anim.xml
+share/mime/video/x-avi.xml
+share/mime/video/x-flic.xml
+share/mime/video/x-mng.xml
+share/mime/video/x-ms-asf.xml
+share/mime/video/x-ms-wmv.xml
+share/mime/video/x-msvideo.xml
+share/mime/video/x-real-video.xml
+share/mime/video/x-sgi-movie.xml
+@dirrm share/mime/video
+@dirrm share/mime/text
+@dirrm share/mime/packages
+@dirrm share/mime/multipart
+@dirrm share/mime/model
+@dirrm share/mime/message
+@dirrm share/mime/inode
+@dirrm share/mime/image
+@dirrm share/mime/audio
+@dirrm share/mime/application
@unexec rmdir %D/share/mime 2>/dev/null || true