diff options
author | yuri <yuri@FreeBSD.org> | 2018-03-24 09:06:20 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-03-24 09:06:20 +0800 |
commit | 6000e0bdb695953f2fe8fee2b4ca238f7cc24e7f (patch) | |
tree | c3a2b70ed334cce4ec1810a9e084b2721685ffdb /science | |
parent | 0e11ff9c7b55d440ca8d08a3087dcafae5543a9c (diff) | |
download | freebsd-ports-gnome-6000e0bdb695953f2fe8fee2b4ca238f7cc24e7f.tar.gz freebsd-ports-gnome-6000e0bdb695953f2fe8fee2b4ca238f7cc24e7f.tar.zst freebsd-ports-gnome-6000e0bdb695953f2fe8fee2b4ca238f7cc24e7f.zip |
science/chemtool: Update 1.6.11 -> 1.6.14
Port changes:
* Take maintainership
* Change to DISTVERSION
* Add LICENSE/LICENSE_FILE
* Add missing dependencies in LIB_DEPENDS and USE_GNOME
* Add the NLS option
* Add PORTEXAMPLES=*
* Remove post-patch (not needed)
* Remove do-install (not needed, except for EXAMPLES)
Diffstat (limited to 'science')
-rw-r--r-- | science/chemtool/Makefile | 34 | ||||
-rw-r--r-- | science/chemtool/distinfo | 5 | ||||
-rw-r--r-- | science/chemtool/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | science/chemtool/pkg-plist | 47 |
4 files changed, 30 insertions, 67 deletions
diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile index 58967943d022..22c0796a398e 100644 --- a/science/chemtool/Makefile +++ b/science/chemtool/Makefile @@ -2,36 +2,36 @@ # $FreeBSD$ PORTNAME= chemtool -PORTVERSION= 1.6.11 -PORTREVISION= 5 +DISTVERSION= 1.6.14 CATEGORIES= science MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= yuri@FreeBSD.org COMMENT= Draw organic molecules easily and store them -LIB_DEPENDS= libEMF.so:graphics/libemf +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libEMF.so:graphics/libemf \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 RUN_DEPENDS= transfig:print/transfig USES= gmake pkgconfig -USE_GNOME= gtk20 -USE_XORG= x11 GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF -LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX} +USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_XORG= x11 + +OPTIONS_DEFINE= NLS EXAMPLES +OPTIONS_SUB= yes -OPTIONS_DEFINE= EXAMPLES +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls -post-patch: - @${REINPLACE_CMD} 's/-lstdc++//' ${WRKSRC}/configure +PORTEXAMPLES= * -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/chemtool ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/src-cht/cht ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/chemtool.1 ${STAGEDIR}${MANPREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/cht.1 ${STAGEDIR}${MANPREFIX}/man/man1 - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} +do-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${FIND} . | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} diff --git a/science/chemtool/distinfo b/science/chemtool/distinfo index ef5d3c12ac20..3045eb299d56 100644 --- a/science/chemtool/distinfo +++ b/science/chemtool/distinfo @@ -1,2 +1,3 @@ -SHA256 (chemtool-1.6.11.tar.gz) = 3d57f14fa6be06a2fa7930f9ecf67fa7d29e059054151f57ea1a4aadc679f3f1 -SIZE (chemtool-1.6.11.tar.gz) = 720067 +TIMESTAMP = 1521851019 +SHA256 (chemtool-1.6.14.tar.gz) = 86161a0461386b334a5ffb17cdf094a491941884678272f45749813514ddafcb +SIZE (chemtool-1.6.14.tar.gz) = 817735 diff --git a/science/chemtool/files/patch-Makefile.in b/science/chemtool/files/patch-Makefile.in deleted file mode 100644 index 305e49ef1e77..000000000000 --- a/science/chemtool/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in~ 2007-08-26 20:53:59.000000000 +0900 -+++ Makefile.in 2009-03-17 14:46:01.000000000 +0900 -@@ -230,7 +230,7 @@ - AM_CPPFLAGS = -I. -I$(srcdir) @GTK_CFLAGS@ - - # Link time dependencies. --LDADD = @LIBINTL@ @GTK_LIBS@ -+LDADD = @LIBINTL@ @GTK_LIBS@ @EMFLIBS@ -lX11 - - # Additional files to be distributed. - EXTRA_DIST = autogen.sh autoclean.sh diff --git a/science/chemtool/pkg-plist b/science/chemtool/pkg-plist index 6e72846085b9..57ca35a17c43 100644 --- a/science/chemtool/pkg-plist +++ b/science/chemtool/pkg-plist @@ -1,41 +1,14 @@ bin/chemtool +bin/chemtoolbg bin/cht man/man1/chemtool.1.gz man/man1/cht.1.gz -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/14263232.mol -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/AMP.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Adenosine.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Dehydrotubifolin.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/G-host.pdb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Indolizomycin.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Lepicidin-A-Aglycon.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Neu2 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/amine.mol -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anabsinthin.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anthocyanidine.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/atp.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bcarotin.pdb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/breve.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bufotalin.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/byrostatin1.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c70.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/camphor.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chlorophyll.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/claisen.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dodecahedran.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/indigo.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kdo.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/krebs.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/labeltest -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pagodan.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/penicillin_v.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pteridin.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reaction.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rutamycin_b.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.sdf -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/textsizes.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tbutylazulene.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcdd.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tetracyclin.cht -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/v3000.mol -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viagra.cht +%%NLS%%share/locale/bg/LC_MESSAGES/chemtool.mo +%%NLS%%share/locale/cs/LC_MESSAGES/chemtool.mo +%%NLS%%share/locale/de/LC_MESSAGES/chemtool.mo +%%NLS%%share/locale/fr/LC_MESSAGES/chemtool.mo +%%NLS%%share/locale/nl/LC_MESSAGES/chemtool.mo +%%NLS%%share/locale/pl/LC_MESSAGES/chemtool.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/chemtool.mo +%%NLS%%share/locale/pt_PT/LC_MESSAGES/chemtool.mo +%%NLS%%share/locale/ru/LC_MESSAGES/chemtool.mo |