aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-05-25 06:18:10 +0800
committerpav <pav@FreeBSD.org>2007-05-25 06:18:10 +0800
commit5abb7ddae09684534f3fe36eaa9ef25b6b68de28 (patch)
tree292318702c974d47c6f0dd126bcd3784206df3c2
parent79689c6be0913909aa0e5a49a453a8c583e980a2 (diff)
downloadfreebsd-ports-gnome-5abb7ddae09684534f3fe36eaa9ef25b6b68de28.tar.gz
freebsd-ports-gnome-5abb7ddae09684534f3fe36eaa9ef25b6b68de28.tar.zst
freebsd-ports-gnome-5abb7ddae09684534f3fe36eaa9ef25b6b68de28.zip
The chemical-mime-data package is a collection of data files to add support for
various chemical MIME types on Linux/UNIX desktops, such as KDE and GNOME. WWW: http://chemical-mime.sourceforge.net/
-rw-r--r--science/Makefile1
-rw-r--r--science/chemical-mime-data/Makefile33
-rw-r--r--science/chemical-mime-data/distinfo3
-rw-r--r--science/chemical-mime-data/pkg-descr4
-rw-r--r--science/chemical-mime-data/pkg-plist112
5 files changed, 153 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 5ceaae76b776..fb367c0e0f1d 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -15,6 +15,7 @@
SUBDIR += cdf
SUBDIR += cdo
SUBDIR += cgnslib
+ SUBDIR += chemical-mime-data
SUBDIR += chemtool
SUBDIR += chemtool-devel
SUBDIR += clhep
diff --git a/science/chemical-mime-data/Makefile b/science/chemical-mime-data/Makefile
new file mode 100644
index 000000000000..78af3a4948dc
--- /dev/null
+++ b/science/chemical-mime-data/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: chemical-mime-data
+# Date created: 21 May 2007
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= chemical-mime-data
+PORTVERSION= 0.1.94
+CATEGORIES= science
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= chemical-mime
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= A collection of chemical MIME types for UNIX desktops
+
+BUILD_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \
+ ${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc:${PORTSDIR}/graphics/librsvg2 \
+ xsltproc:${PORTSDIR}/textproc/libxslt
+RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomemimedata intltool
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib -lintl"
+INSTALLS_ICONS= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|*-*-solaris*|*| ; s|rsvg|rsvg-convert|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|(datadir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|-f png $$< |-f png $$< > |' ${WRKSRC}/icons/hicolor/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/science/chemical-mime-data/distinfo b/science/chemical-mime-data/distinfo
new file mode 100644
index 000000000000..0eac9b0e4d4c
--- /dev/null
+++ b/science/chemical-mime-data/distinfo
@@ -0,0 +1,3 @@
+MD5 (chemical-mime-data-0.1.94.tar.bz2) = 51c6a94b71ccd1d53ce53199e91ef985
+SHA256 (chemical-mime-data-0.1.94.tar.bz2) = 4907cdf60e9edca0a453f6f24e9179ae9da085b67168e932ba44a4280316bff1
+SIZE (chemical-mime-data-0.1.94.tar.bz2) = 146077
diff --git a/science/chemical-mime-data/pkg-descr b/science/chemical-mime-data/pkg-descr
new file mode 100644
index 000000000000..fad823cd9164
--- /dev/null
+++ b/science/chemical-mime-data/pkg-descr
@@ -0,0 +1,4 @@
+The chemical-mime-data package is a collection of data files to add support for
+various chemical MIME types on Linux/UNIX desktops, such as KDE and GNOME.
+
+WWW: http://chemical-mime.sourceforge.net/
diff --git a/science/chemical-mime-data/pkg-plist b/science/chemical-mime-data/pkg-plist
new file mode 100644
index 000000000000..842bb9cc392f
--- /dev/null
+++ b/science/chemical-mime-data/pkg-plist
@@ -0,0 +1,112 @@
+libdata/pkgconfig/chemical-mime-data.pc
+share/doc/chemical-mime-data/chemical-mime-data.html
+share/doc/chemical-mime-data/cmd.css
+share/doc/chemical-mime-data/index.html
+share/icons/hicolor/16x16/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/22x22/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/24x24/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/32x32/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/36x36/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/48x48/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/64x64/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/72x72/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/96x96/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/128x128/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/192x192/mimetypes/gnome-mime-chemical.png
+share/icons/hicolor/scalable/mimetypes/gnome-mime-chemical.svgz
+share/locale/de/LC_MESSAGES/chemical-mime-data.mo
+share/locale/fr/LC_MESSAGES/chemical-mime-data.mo
+share/pixmaps/chemistry.png
+share/pixmaps/gnome-mime-chemical.png
+share/mime/packages/chemical-mime-data.xml
+share/mime/chemical/x-alchemy.xml
+share/mime/chemical/x-cactvs-ascii.xml
+share/mime/chemical/x-cactvs-binary.xml
+share/mime/chemical/x-cactvs-table.xml
+share/mime/chemical/x-cache.xml
+share/mime/chemical/x-cdxml.xml
+share/mime/chemical/x-cdx.xml
+share/mime/chemical/x-chem3d.xml
+share/mime/chemical/x-cif.xml
+share/mime/chemical/x-cml.xml
+share/mime/chemical/x-daylight-smiles.xml
+share/mime/chemical/x-dmol.xml
+share/mime/chemical/x-gamess-input.xml
+share/mime/chemical/x-gamess-output.xml
+share/mime/chemical/x-gaussian-input.xml
+share/mime/chemical/x-gaussian-log.xml
+share/mime/chemical/x-genbank.xml
+share/mime/chemical/x-gulp.xml
+share/mime/chemical/x-hin.xml
+share/mime/chemical/x-inchi.xml
+share/mime/chemical/x-inchi-xml.xml
+share/mime/chemical/x-jcamp-dx.xml
+share/mime/chemical/x-macromodel-input.xml
+share/mime/chemical/x-mdl-molfile.xml
+share/mime/chemical/x-mdl-rdfile.xml
+share/mime/chemical/x-mdl-rxnfile.xml
+share/mime/chemical/x-mdl-sdfile.xml
+share/mime/chemical/x-mdl-tgf.xml
+share/mime/chemical/x-mmcif.xml
+share/mime/chemical/x-mol2.xml
+share/mime/chemical/x-mopac-graph.xml
+share/mime/chemical/x-mopac-input.xml
+share/mime/chemical/x-mopac-out.xml
+share/mime/chemical/x-msi-car.xml
+share/mime/chemical/x-msi-hessian.xml
+share/mime/chemical/x-msi-mdf.xml
+share/mime/chemical/x-msi-msi.xml
+share/mime/chemical/x-ncbi-asn1.xml
+share/mime/chemical/x-ncbi-asn1-binary.xml
+share/mime/chemical/x-ncbi-asn1-xml.xml
+share/mime/chemical/x-pdb.xml
+share/mime/chemical/x-shelx.xml
+share/mime/chemical/x-vmd.xml
+share/mime/chemical/x-xyz.xml
+share/mime-info/chemical-mime-data.keys
+share/mime-info/chemical-mime-data.mime
+share/mimelnk/chemical/x-alchemy.desktop
+share/mimelnk/chemical/x-cache.desktop
+share/mimelnk/chemical/x-cactvs-ascii.desktop
+share/mimelnk/chemical/x-cactvs-binary.desktop
+share/mimelnk/chemical/x-cactvs-table.desktop
+share/mimelnk/chemical/x-cdx.desktop
+share/mimelnk/chemical/x-cdxml.desktop
+share/mimelnk/chemical/x-chem3d.desktop
+share/mimelnk/chemical/x-cif.desktop
+share/mimelnk/chemical/x-cml.desktop
+share/mimelnk/chemical/x-dmol.desktop
+share/mimelnk/chemical/x-gamess-input.desktop
+share/mimelnk/chemical/x-gamess-output.desktop
+share/mimelnk/chemical/x-gaussian-input.desktop
+share/mimelnk/chemical/x-gaussian-log.desktop
+share/mimelnk/chemical/x-genbank.desktop
+share/mimelnk/chemical/x-gulp.desktop
+share/mimelnk/chemical/x-hin.desktop
+share/mimelnk/chemical/x-inchi-xml.desktop
+share/mimelnk/chemical/x-inchi.desktop
+share/mimelnk/chemical/x-jcamp-dx.desktop
+share/mimelnk/chemical/x-macromodel-input.desktop
+share/mimelnk/chemical/x-mdl-molfile.desktop
+share/mimelnk/chemical/x-mdl-rdfile.desktop
+share/mimelnk/chemical/x-mdl-rxnfile.desktop
+share/mimelnk/chemical/x-mdl-tgf.desktop
+share/mimelnk/chemical/x-mmcif.desktop
+share/mimelnk/chemical/x-mol2.desktop
+share/mimelnk/chemical/x-mopac-graph.desktop
+share/mimelnk/chemical/x-mopac-out.desktop
+share/mimelnk/chemical/x-msi-car.desktop
+share/mimelnk/chemical/x-msi-hessian.desktop
+share/mimelnk/chemical/x-msi-mdf.desktop
+share/mimelnk/chemical/x-msi-msi.desktop
+share/mimelnk/chemical/x-ncbi-asn1-binary.desktop
+share/mimelnk/chemical/x-ncbi-asn1-xml.desktop
+share/mimelnk/chemical/x-ncbi-asn1.desktop
+share/mimelnk/chemical/x-shelx.desktop
+share/mimelnk/chemical/x-vmd.desktop
+share/mimelnk/chemical/x-xyz.desktop
+@dirrm share/mime/chemical
+@dirrmtry share/mime-info
+@dirrm share/mimelnk/chemical
+@dirrmtry share/mimelnk
+@dirrm share/doc/chemical-mime-data