summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-08-17 19:16:55 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-08-17 19:16:55 +0000
commit9f15c68bdd5260e7cc89e9583e469e5b81e1b7c3 (patch)
tree09a17abc345572c78c5c2e29c2e837fbdcabb0ca /biology
parentUpdate to version 0.99.6. (diff)
- Support CXXFLAGS properly.
- Do not install .la file. PR: 41732 Submitted by: Ports Fury
Diffstat (limited to 'biology')
-rw-r--r--biology/libgenome/Makefile12
-rw-r--r--biology/libgenome/files/patch-configure10
-rw-r--r--biology/libgenome/pkg-plist7
3 files changed, 22 insertions, 7 deletions
diff --git a/biology/libgenome/Makefile b/biology/libgenome/Makefile
index 3286693eb207..833f646d2de2 100644
--- a/biology/libgenome/Makefile
+++ b/biology/libgenome/Makefile
@@ -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 --git a/biology/libgenome/files/patch-configure b/biology/libgenome/files/patch-configure
new file mode 100644
index 000000000000..70e0e4df0ff5
--- /dev/null
+++ b/biology/libgenome/files/patch-configure
@@ -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 --git a/biology/libgenome/pkg-plist b/biology/libgenome/pkg-plist
index 540a5c61176b..52a30fa1df8d 100644
--- a/biology/libgenome/pkg-plist
+++ b/biology/libgenome/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
include/gn/gnABISource.h
include/gn/gnBaseFeature.h
include/gn/gnBaseFilter.h
@@ -43,16 +44,11 @@ include/gn/gnStringSpec.h
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 +334,4 @@ lib/libGenome.so.0
%%PORTDOCS%%share/doc/libgenome/testgpSequence_8cpp-source.html
%%PORTDOCS%%share/doc/libgenome/testgpSequence_8cpp.html
%%PORTDOCS%%@dirrm share/doc/libgenome
+@dirrm include/gn