Bug 53845 - [update] science/openbabel to 1.100.1
Summary: [update] science/openbabel to 1.100.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-27 16:40 UTC by Jan Hornyak
Modified: 2003-06-29 20:36 UTC (History)
0 users

See Also:


Attachments
file.diff (3.76 KB, patch)
2003-06-27 16:40 UTC, Jan Hornyak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Hornyak 2003-06-27 16:40:11 UTC
Update to 1.100.1, which now features shared library (I'll need it
for new version of GChemPaint).

Remove all files from files/, renaming of binary babel->openbabel is
more elegantly done with --program-prefix=open :)

gnomehack is there for correct placing of .pc file
Comment 1 Jan Hornyak 2003-06-27 17:10:48 UTC
>Submitter-Id:	current-users
>Originator:	Pav Lucistnik
>Organization:	
>Confidential:	no 
>Synopsis:	Re: ports/53845: [update] science/openbabel to 1.100.1
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		update
>Release:	FreeBSD 4.8-STABLE i386
>Environment:
System: FreeBSD pav.hide.vol.cz 4.8-STABLE FreeBSD 4.8-STABLE #1: Tue May 20 09:27:29 CEST 2003 root@pav.hide.vol.cz:/usr/obj/usr/src/sys/PAV i386


	
>Description:
Resend: install header files from subdirs. See bug #761644 on Openbabel website

Update to 1.100.1, which now features shared library (I'll need it
for new version of GChemPaint).

Remove all files from files/, renaming of binary babel->openbabel is
more elegantly done with --program-prefix=open :)

gnomehack is there for correct placing of .pc file


>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/science/openbabel/Makefile openbabel/Makefile
--- /usr/ports/science/openbabel/Makefile	Mon Apr  7 09:06:07 2003
+++ openbabel/Makefile	Fri Jun 27 17:55:35 2003
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	openbabel
-PORTVERSION=	1.100.0
+PORTVERSION=	1.100.1
 CATEGORIES=	science
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,8 +15,15 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Chemistry file translation program
 
-GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+INSTALLS_SHLIB=	yes
+CONFIGURE_ARGS=	--enable-shared --disable-static --program-prefix=open
+USE_GNOME=	gnomehack
 
 MAN1=	openbabel.1
+
+post-install:
+	${MKDIR} ${PREFIX}/include/openbabel/math
+	${INSTALL_DATA} ${WRKSRC}/src/math/*.h ${PREFIX}/include/openbabel/math
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/science/openbabel/distinfo openbabel/distinfo
--- /usr/ports/science/openbabel/distinfo	Sun Jan  5 18:04:59 2003
+++ openbabel/distinfo	Fri Jun 27 14:42:57 2003
@@ -1 +1 @@
-MD5 (openbabel-1.100.0.tar.gz) = 6001013ebb0c4eca28e56a5d777bea39
+MD5 (openbabel-1.100.1.tar.gz) = 06ed9032ebaece0883420bd403c45215
diff -ruN /usr/ports/science/openbabel/files/patch-Makefile.in openbabel/files/patch-Makefile.in
--- /usr/ports/science/openbabel/files/patch-Makefile.in	Sat Apr  5 10:11:47 2003
+++ openbabel/files/patch-Makefile.in	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- Makefile.in.orig	Fri Apr  4 23:51:37 2003
-+++ Makefile.in	Fri Apr  4 23:52:01 2003
-@@ -53,7 +53,7 @@
- install:	all
- 		(cd src; $(MAKE) $(MFLAGS) install)
- 		$(MKDIRS) $(DESTDIR)$(mandir)
--		$(INSTALL) $(top_srcdir)/doc/babel.1 $(DESTDIR)$(mandir)
-+		$(INSTALL) $(top_srcdir)/doc/babel.1 $(DESTDIR)$(mandir)/openbabel.1
- 
- 
- dist:		distclean
diff -ruN /usr/ports/science/openbabel/files/patch-src::Makefile.in openbabel/files/patch-src::Makefile.in
--- /usr/ports/science/openbabel/files/patch-src::Makefile.in	Sat Apr  5 10:11:47 2003
+++ openbabel/files/patch-src::Makefile.in	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Fri Apr  4 23:52:42 2003
-+++ src/Makefile.in	Fri Apr  4 23:52:59 2003
-@@ -91,7 +91,7 @@
- 
- install:	$(PROGRAM)
- 		$(MKDIRS) $(DESTDIR)$(bindir)
--		$(INSTALL) $(PROGRAM) $(DESTDIR)$(bindir)
-+		$(INSTALL) $(PROGRAM) $(DESTDIR)$(bindir)/openbabel
- 		$(MKDIRS) $(DESTDIR)$(pkgdatadir)
- 		(cd $(srcdir); $(INSTALL) -m644 $(DATAFILES) $(DESTDIR)$(pkgdatadir))
- 
diff -ruN /usr/ports/science/openbabel/pkg-plist openbabel/pkg-plist
--- /usr/ports/science/openbabel/pkg-plist	Mon Apr  7 09:06:07 2003
+++ openbabel/pkg-plist	Fri Jun 27 17:56:15 2003
@@ -1,9 +1,53 @@
 bin/openbabel
+include/openbabel/aromatic.h
+include/openbabel/atomtyp.h
+include/openbabel/base.h
+include/openbabel/binary.h
+include/openbabel/bitvec.h
+include/openbabel/bondtyp.h
+include/openbabel/bondtyper.h
+include/openbabel/chains.h
+include/openbabel/chiral.h
+include/openbabel/data.h
+include/openbabel/element.h
+include/openbabel/extable.h
+include/openbabel/fileformat.h
+include/openbabel/generic.h
+include/openbabel/grid.h
+include/openbabel/isotope.h
+include/openbabel/math/matrix3x3.h
+include/openbabel/math/vector3.h
+include/openbabel/matrix.h
+include/openbabel/mol.h
+include/openbabel/molchrg.h
+include/openbabel/molvector.h
+include/openbabel/oberror.h
+include/openbabel/obifstream.h
+include/openbabel/obutil.h
+include/openbabel/parsmart.h
+include/openbabel/patty.h
+include/openbabel/phmodel.h
+include/openbabel/phmodeldata.h
+include/openbabel/resdata.h
+include/openbabel/ring.h
+include/openbabel/rotor.h
+include/openbabel/smi.h
+include/openbabel/typer.h
+include/openbabel/types.h
+lib/libopenbabel.la
+lib/libopenbabel.so
+lib/libopenbabel.so.0
+libdata/pkgconfig/openbabel.pc
 share/openbabel/aromatic.txt
 share/openbabel/atomtyp.txt
+share/openbabel/bondtyp.txt
 share/openbabel/element.txt
 share/openbabel/extable.txt
+share/openbabel/isotope.txt
+share/openbabel/isotope-small.txt
 share/openbabel/phmodel.txt
 share/openbabel/resdata.txt
 share/openbabel/types.txt
+@dirrm include/openbabel/math
+@dirrm include/openbabel
 @dirrm share/openbabel
Comment 2 Joe Marcus Clarke freebsd_committer 2003-06-29 20:36:32 UTC
State Changed
From-To: open->closed

Committed, thanks!