diff options
author | naddy <naddy@FreeBSD.org> | 2002-08-18 03:16:55 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-08-18 03:16:55 +0800 |
commit | ce69379647b8ac750cbcfc0bff0350ff2ccbba30 (patch) | |
tree | 9560ef267c6cf41cc46092497e7805534ea2215d /biology | |
parent | e2f2ef3607633481f857113d4a8a95880984f505 (diff) | |
download | freebsd-ports-gnome-ce69379647b8ac750cbcfc0bff0350ff2ccbba30.tar.gz freebsd-ports-gnome-ce69379647b8ac750cbcfc0bff0350ff2ccbba30.tar.zst freebsd-ports-gnome-ce69379647b8ac750cbcfc0bff0350ff2ccbba30.zip |
- Support CXXFLAGS properly.
- Do not install .la file.
PR: 41732
Submitted by: Ports Fury
Diffstat (limited to 'biology')
-rw-r--r-- | biology/libgenome/Makefile | 12 | ||||
-rw-r--r-- | biology/libgenome/files/patch-configure | 10 | ||||
-rw-r--r-- | biology/libgenome/pkg-plist | 7 |
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 |