Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 17:07:32 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41732: Update port: biology/libgenome
Message-ID:  <200208170007.g7H07WkS078811@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         41732
>Category:       ports
>Synopsis:       Update port: biology/libgenome
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 16 17:10:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CXXFLAGS properly
- Do not install .la file

New file:
files/patch-configure

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/biology/libgenome/Makefile biology/libgenome/Makefile
--- /usr/ports/biology/libgenome/Makefile	Tue Jul 30 19:57:06 2002
+++ biology/libgenome/Makefile	Sat Aug 17 08:49:28 2002
@@ -8,19 +8,27 @@
 
 PORTNAME=	libgenome
 PORTVERSION=	0.5.0
+PORTREVISION=	1
 CATEGORIES=	biology
 MASTER_SITES=	http://www.libgenome.org/releases/
 DISTNAME=	libGenome-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 
+USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
 
-.if !defined(NOPORTDOCS)
+post-patch:
+	@${REINPLACE_CMD} -e 's|-O3|@CXXFLAGS@|g' ${WRKSRC}/src/Makefile.in
+
 post-install:
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${CP} -R ${WRKSRC}/doc/html/* ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/html/*.css ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/html/*.gif ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/biology/libgenome/files/patch-configure biology/libgenome/files/patch-configure
--- /usr/ports/biology/libgenome/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ biology/libgenome/files/patch-configure	Wed Aug 14 05:14:57 2002
@@ -0,0 +1,10 @@
+--- configure.orig	Fri Apr  5 03:02:28 2002
++++ configure	Wed Aug 14 05:14:48 2002
+@@ -6761,6 +6761,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/biology/libgenome/pkg-plist biology/libgenome/pkg-plist
--- /usr/ports/biology/libgenome/pkg-plist	Tue Jul 30 19:57:06 2002
+++ biology/libgenome/pkg-plist	Wed Aug 14 07:03:10 2002
@@ -43,16 +43,11 @@
 include/gn/gnStringTools.h
 include/gn/gnTranslator.h
 include/gn/gnVersion.h
-@dirrm include/gn
 lib/libGenome.a
-lib/libGenome.la
 lib/libGenome.so
 lib/libGenome.so.0
 %%PORTDOCS%%share/doc/libgenome/GNPREC_8H-source.html
 %%PORTDOCS%%share/doc/libgenome/GNPREC_8H.html
-%%PORTDOCS%%share/doc/libgenome/Makefile
-%%PORTDOCS%%share/doc/libgenome/Makefile.am
-%%PORTDOCS%%share/doc/libgenome/Makefile.in
 %%PORTDOCS%%share/doc/libgenome/TestRevComp_8cpp-source.html
 %%PORTDOCS%%share/doc/libgenome/TestRevComp_8cpp.html
 %%PORTDOCS%%share/doc/libgenome/TestgpSeqConverter_8cpp-source.html
@@ -338,3 +333,4 @@
 %%PORTDOCS%%share/doc/libgenome/testgpSequence_8cpp-source.html
 %%PORTDOCS%%share/doc/libgenome/testgpSequence_8cpp.html
 %%PORTDOCS%%@dirrm share/doc/libgenome
+@dirrm include/gn

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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