From 237c964e903b4b6ec23e87ede0690bdb416c5ad1 Mon Sep 17 00:00:00 2001 From: reinhard Date: Fri, 9 Feb 2001 10:05:30 +0000 Subject: [PATCH] upgrade to GTL 1.0.0 - WITH THE RELEASE THE DOWNLOAD POLICY FOR GTL HAS BEEN CHANGED. PLEASE SEE THE HOMEPAGE FOR THE DETAILS. - First stable release - Various bugfixes - Optimization of reallocation procedure in node_ and edge_maps - Bump NEED_VERSION from maintainer --- devel/gtl/Makefile | 53 +++++++++++++------------ devel/gtl/files/md5 | 6 +-- devel/gtl/patches/patch-src_Makefile_in | 18 ++++----- devel/gtl/pkg/DESCR | 1 - devel/gtl/pkg/PLIST | 14 +------ 5 files changed, 42 insertions(+), 50 deletions(-) diff --git a/devel/gtl/Makefile b/devel/gtl/Makefile index f53c5218d72..837ae2ece62 100644 --- a/devel/gtl/Makefile +++ b/devel/gtl/Makefile @@ -1,39 +1,42 @@ -# $OpenBSD: Makefile,v 1.2 2001/02/05 10:25:41 reinhard Exp $ +# $OpenBSD: Makefile,v 1.3 2001/02/09 10:05:30 reinhard Exp $ -BROKEN= "changed download policy; sources no longer available" - -DISTNAME= GTL-0.3.3 -PKGNAME= gtl-0.3.3 +PKGNAME= gtl-1.0.0 +DISTNAME= GTL-1.0.0 CATEGORIES= devel -NEED_VERSION= 1.351 +NEED_VERSION= 1.353 MAINTAINER= Peter Valchev -LICENSE_TYPE= no-commercial-use -PERMIT_PACKAGE_CDROM= "redistribution requires written permission" -PERMIT_PACKAGE_FTP= "redistribution requires written permission" -PERMIT_DISTFILES_CDROM= "redistribution requires written permission" -PERMIT_DISTFILES_FTP= "redistribution requires written permission" +PERMIT_PACKAGE_CDROM= "use requires written permission" +PERMIT_PACKAGE_FTP= "use requires written permission" +PERMIT_DISTFILES_CDROM= "use requires written permission" +PERMIT_DISTFILES_FTP= "use requires written permission" HOMEPAGE= http://infosun.fmi.uni-passau.de/GTL/ -MASTER_SITES= ${HOMEPAGE}archive/ - -FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}" +MASTER_SITES= see_do-fetch_target CONFIGURE_STYLE= gnu -MAKE_ENV+= GTL_VERS="0:3" +MAKE_ENV+= GTL_VERS="1.0.0" -do-install: +do-fetch: + @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ + echo "" ; \ + echo " The source of this port cannot be automatically fetched" ; \ + echo " due to licensing restrictions. You MUST visit :" ; \ + echo " ${HOMEPAGE}#down" ; \ + echo " and follow the instructions - you will have to send e-mail" ; \ + echo " with your personal information in order to be accepted." ; \ + echo "" ; \ + echo " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}" ; \ + echo " and then go back and restart this build." ; \ + echo "" ; \ + exit 1 ; \ + fi + +post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtl - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtl/icons - ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${PREFIX}/share/doc/gtl - ${INSTALL_DATA} ${WRKSRC}/doc/html/icons/*.gif ${WRKSRC}/doc/html/icons/*.jpeg ${PREFIX}/share/doc/gtl/icons - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gtl - ${INSTALL_DATA_DIR} ${PREFIX}/include/GTL - ${INSTALL_DATA} ${WRKSRC}/include/GTL/*.h ${PREFIX}/include/GTL - ${INSTALL_DATA} ${WRKSRC}/src/libGTL.la ${PREFIX}/lib/libGTL.la - ${INSTALL_DATA} ${WRKSRC}/src/.libs/libGTL.so.0.3 ${PREFIX}/lib/libGTL.so.0.3 - ${INSTALL_DATA} ${WRKSRC}/src/.libs/libGTL.a ${PREFIX}/lib/libGTL.a + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${PREFIX}/share/doc/gtl + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gtl .include diff --git a/devel/gtl/files/md5 b/devel/gtl/files/md5 index 88bde96e782..a7efdfada31 100644 --- a/devel/gtl/files/md5 +++ b/devel/gtl/files/md5 @@ -1,3 +1,3 @@ -MD5 (GTL-0.3.3.tar.gz) = 3fc4653715b8d3b32f9bee3f4ea01252 -RMD160 (GTL-0.3.3.tar.gz) = dbfa6b83cb975331db37a75caedd096a080c40df -SHA1 (GTL-0.3.3.tar.gz) = 5cf7baab5ec299045fc9f8df455cb32be39cb736 +MD5 (GTL-1.0.0.tar.gz) = 1ca53b3b4d0cd76782ba5201f51122e6 +RMD160 (GTL-1.0.0.tar.gz) = e324bd6082f5054050a5e686819fce958fdf7bd6 +SHA1 (GTL-1.0.0.tar.gz) = 26f4b7a815c4c3887649780d2d2d7630bfd9c0fe diff --git a/devel/gtl/patches/patch-src_Makefile_in b/devel/gtl/patches/patch-src_Makefile_in index b58c6b34a79..aad8f026df7 100644 --- a/devel/gtl/patches/patch-src_Makefile_in +++ b/devel/gtl/patches/patch-src_Makefile_in @@ -1,12 +1,12 @@ -$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2001/01/19 16:33:15 reinhard Exp $ ---- src/Makefile.in.orig Tue Mar 7 09:14:07 2000 -+++ src/Makefile.in Thu Jan 11 18:21:23 2001 -@@ -92,7 +92,7 @@ lib_LTLIBRARIES = libGTL.la - libGTL_la_SOURCES = gml_scanner.cpp gml_parser.cpp edge.cpp graph.cpp node.cpp dfs.cpp biconnectivity.cpp bfs.cpp topsort.cpp st_number.cpp embedding.cpp pq_node.cpp pq_tree.cpp planarity.cpp maxflow_ff.cpp maxflow_pp.cpp debug.cpp components.cpp fm_partition.cpp ratio_cut_partition.cpp +$OpenBSD: patch-src_Makefile_in,v 1.2 2001/02/09 10:05:32 reinhard Exp $ +--- src/Makefile.in.orig Wed Feb 7 16:40:07 2001 ++++ src/Makefile.in Wed Feb 7 16:42:04 2001 +@@ -123,7 +123,7 @@ libGTL_la_SOURCES = \ + ratio_cut_partition.cpp --libGTL_la_LDFLAGS = -version-info $(MINOR_VERSION):$(MINI_VERSION):0 -+libGTL_la_LDFLAGS = -version-info $(GTL_VERS) - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +-libGTL_la_LDFLAGS = -release $(MAJOR_VERSION).$(MINOR_VERSION).$(MINI_VERSION) ++libGTL_la_LDFLAGS = -release $(GTL_VERS) + subdir = src + mkinstalldirs = $(SHELL) $(top_srcdir)/aux/mkinstalldirs CONFIG_CLEAN_FILES = - LTLIBRARIES = $(lib_LTLIBRARIES) diff --git a/devel/gtl/pkg/DESCR b/devel/gtl/pkg/DESCR index 05f027e5ae4..a44859c444f 100644 --- a/devel/gtl/pkg/DESCR +++ b/devel/gtl/pkg/DESCR @@ -12,4 +12,3 @@ However, graphs are widely used to model complex relational structures. WWW: ${HOMEPAGE} -LICENSE: Redistribution/commerical use requires written permission diff --git a/devel/gtl/pkg/PLIST b/devel/gtl/pkg/PLIST index 5d06507cf59..59dcbf9673b 100644 --- a/devel/gtl/pkg/PLIST +++ b/devel/gtl/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/19 16:33:15 reinhard Exp $ +@comment $OpenBSD: PLIST,v 1.2 2001/02/09 10:05:33 reinhard Exp $ include/GTL/GTL.h include/GTL/algorithm.h include/GTL/bfs.h @@ -75,21 +75,13 @@ share/doc/gtl/doc004.html share/doc/gtl/doc005.html share/doc/gtl/doc006.html share/doc/gtl/doc007.html +share/doc/gtl/download.html share/doc/gtl/edge.html share/doc/gtl/edge_map.html share/doc/gtl/fm_partition.html share/doc/gtl/graph.html share/doc/gtl/header-list.html share/doc/gtl/hier.html -share/doc/gtl/icons/GTL-small.gif -share/doc/gtl/icons/GTL.jpeg -share/doc/gtl/icons/contents.gif -share/doc/gtl/icons/next.gif -share/doc/gtl/icons/next_gr.gif -share/doc/gtl/icons/previous.gif -share/doc/gtl/icons/previous_gr.gif -share/doc/gtl/icons/up.gif -share/doc/gtl/icons/up_gr.gif share/doc/gtl/index.html share/doc/gtl/maxflow_ff.html share/doc/gtl/maxflow_pp.html @@ -104,7 +96,5 @@ share/doc/gtl/refer.html share/doc/gtl/st_number.html share/doc/gtl/symlist.html share/doc/gtl/topsort.html -%%SHARED%% -@dirrm share/doc/gtl/icons @dirrm share/doc/gtl @dirrm include/GTL