Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2018 01:06:20 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465423 - in head/science/chemtool: . files
Message-ID:  <201803240106.w2O16Ksk063772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Mar 24 01:06:20 2018
New Revision: 465423
URL: https://svnweb.freebsd.org/changeset/ports/465423

Log:
  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)

Deleted:
  head/science/chemtool/files/
Modified:
  head/science/chemtool/Makefile
  head/science/chemtool/distinfo
  head/science/chemtool/pkg-plist

Modified: head/science/chemtool/Makefile
==============================================================================
--- head/science/chemtool/Makefile	Sat Mar 24 00:26:23 2018	(r465422)
+++ head/science/chemtool/Makefile	Sat Mar 24 01:06:20 2018	(r465423)
@@ -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=	EXAMPLES
+OPTIONS_DEFINE=	NLS EXAMPLES
+OPTIONS_SUB=	yes
 
-post-patch:
-	@${REINPLACE_CMD} 's/-lstdc++//' ${WRKSRC}/configure
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
-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}
+PORTEXAMPLES=	*
+
+do-install-EXAMPLES-on:
 	cd ${WRKSRC}/examples && ${FIND} . | \
 		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/science/chemtool/distinfo
==============================================================================
--- head/science/chemtool/distinfo	Sat Mar 24 00:26:23 2018	(r465422)
+++ head/science/chemtool/distinfo	Sat Mar 24 01:06:20 2018	(r465423)
@@ -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

Modified: head/science/chemtool/pkg-plist
==============================================================================
--- head/science/chemtool/pkg-plist	Sat Mar 24 00:26:23 2018	(r465422)
+++ head/science/chemtool/pkg-plist	Sat Mar 24 01:06:20 2018	(r465423)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803240106.w2O16Ksk063772>