Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2015 12:07:50 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381381 - in head/biology/seaview: . files
Message-ID:  <201503161207.t2GC7oAk074201@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Mon Mar 16 12:07:49 2015
New Revision: 381381
URL: https://svnweb.freebsd.org/changeset/ports/381381
QAT: https://qat.redports.org/buildarchive/r381381/

Log:
  biology/seaview: UNBREAK
  
  - Update version 4.5.2=>4.5.3.4
  - Add LICENSE (GPLv3)
  - Remove PDFLIBS as OPTIONS as it is no loner an optional requirement
  
  PR:		198602
  Submitted by:	pi
  Approved by:	bapt marino (implicit)

Added:
  head/biology/seaview/files/
  head/biology/seaview/files/patch-Makefile   (contents, props changed)
Modified:
  head/biology/seaview/Makefile
  head/biology/seaview/distinfo

Modified: head/biology/seaview/Makefile
==============================================================================
--- head/biology/seaview/Makefile	Mon Mar 16 10:52:46 2015	(r381380)
+++ head/biology/seaview/Makefile	Mon Mar 16 12:07:49 2015	(r381381)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	seaview
-PORTVERSION=	4.5.2
-PORTREVISION=	1
+PORTVERSION=	4.5.3.4
 PORTEPOCH=	1
 CATEGORIES=	biology
 MASTER_SITES=	http://doua.prabi.fr/software/seaview_data/ \
@@ -13,9 +12,11 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Multiple DNA/protein sequence alignment editor
 
-BROKEN=		Fails to link, tries to use internal fltk symbols
+LICENSE=	GPLv3
 
-LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
+		libpdf.so:${PORTSDIR}/print/pdflib \
+		libpng.so:${PORTSDIR}/graphics/png
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -35,15 +36,8 @@ PLIST_FILES=	bin/seaview man/man1/seavie
 DESKTOP_ENTRIES="SeaView" "" "${PREFIX}/share/pixmaps/seaview.xpm" "seaview" \
 		"Biology;Science;" true
 
-OPTIONS_DEFINE=		PDFLIB
-OPTIONS_DEFAULT=	PDFLIB
-PDFLIB_DESC=		PDFlib support
-PDFLIB_LIB_DEPENDS=	libpdf.so:${PORTSDIR}/print/pdflib
-PDFLIB_MAKE_ENV=	LPDF='-L${LOCALBASE}/lib -lpdf'
-PDFLIB_MAKE_ENV_OFF=	PDF_PS_FLAGS='-DNO_PDF'
-
 post-patch:
-	@${REINPLACE_CMD} -e \
+	${REINPLACE_CMD} -e \
 		's|^\(PDF_PS_FLAGS\) |#\1 | ; \
 		 s|^\(FLTK\) |#\1 | ; \
 		 s|^\(USE_XFT\) |#\1 | ; \
@@ -58,7 +52,7 @@ do-install:
 		${STAGEDIR}${PREFIX}/bin)
 	(cd ${WRKSRC} && ${INSTALL_MAN} seaview.1 \
 		${STAGEDIR}${MANPREFIX}/man/man1)
-	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${MKDIR} ${STAGEDIR}${DATADIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} seaview.html \
 		${STAGEDIR}${DATADIR})
 	(cd ${WRKSRC} && ${INSTALL_DATA} seaview.xpm \

Modified: head/biology/seaview/distinfo
==============================================================================
--- head/biology/seaview/distinfo	Mon Mar 16 10:52:46 2015	(r381380)
+++ head/biology/seaview/distinfo	Mon Mar 16 12:07:49 2015	(r381381)
@@ -1,2 +1,2 @@
-SHA256 (seaview_4.5.2.tar.gz) = 47fca9dd1910ca38a3a2fb869d55a4b3429c30b75193b7780233b27803e17938
-SIZE (seaview_4.5.2.tar.gz) = 411077
+SHA256 (seaview_4.5.3.4.tar.gz) = ba1a139eae5e210b058b11c290f343455fed236a8ae297bf0a69283acc90e182
+SIZE (seaview_4.5.3.4.tar.gz) = 416507

Added: head/biology/seaview/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/biology/seaview/files/patch-Makefile	Mon Mar 16 12:07:49 2015	(r381381)
@@ -0,0 +1,29 @@
+--- Makefile.orig	2014-09-11 16:03:57.000000000 +0200
++++ Makefile	2015-03-15 14:15:03.000000000 +0100
+@@ -11,19 +11,19 @@
+ #FLTK = $(HOME)/fltk-1.3.2
+ 
+ CFLTK = fltk-config
+-IFLTK = $(shell if [ '$(FLTK)' != '' ]; then echo '-I$(FLTK)'; fi)
++IFLTK = -I/usr/local/include
+ CONFIG = $(shell if [ '$(FLTK)' != '' ]; then echo '$(FLTK)/$(CFLTK)'; else echo '$(CFLTK)'; fi)
+-PDF_PS_FLAGS = $(shell if [ '$(PDF_INC)' != '' ]; then echo '-I$(PDF_INC)'; else echo '-DNO_PDF'; fi)
+-LPDF = $(shell if [ '$(PDF_LIB)' != '' ]; then echo '-L$(PDF_LIB) -lpdf'; fi)
++#PDF_PS_FLAGS = $(shell if [ '$(PDF_INC)' != '' ]; then echo '-I$(PDF_INC)'; else echo '-DNO_PDF'; fi)
++LPDF = -L/usr/local/lib -lpdf
+ 
+-EXTRALIBS = $(shell $(CONFIG) --use-images --ldflags) -ldl -lpthread -lz
++EXTRALIBS = $(shell $(CONFIG) --use-images --ldflags) -pthread -lz
+ 
+-CC = gcc
+-CXX = g++
++#CC = gcc
++#CXX = g++
+ CSRC = csrc
+ 
+ #DEBUG = -g
+-OPT = $(shell if [ '$(DEBUG)' = '' ]; then echo '-O3'; else echo '-O0'; fi)
++#OPT = $(shell if [ '$(DEBUG)' = '' ]; then echo '-O3'; else echo '-O0'; fi)
+ 
+ SVFLAGS = $(CPPFLAGS) $(CFLAGS) -Dunix $(OPT) -I. $(IFLTK) -I$(CSRC) $(DEBUG) $(HELPFILE) $(PHYMLNAME) $(PDF_PS_FLAGS)
+ 



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