aboutsummaryrefslogtreecommitdiffstats
path: root/biology/seaview
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-27 16:46:42 +0800
committermiwi <miwi@FreeBSD.org>2014-02-27 16:46:42 +0800
commite9ca59f522c5bec6bbd153a3be9f195a0e0ea822 (patch)
tree703a8f79ee76862a210153a1e5983927295fc4d8 /biology/seaview
parent26b945be578f1ce344fd8317ed03648bb169a8e7 (diff)
downloadfreebsd-ports-gnome-e9ca59f522c5bec6bbd153a3be9f195a0e0ea822.tar.gz
freebsd-ports-gnome-e9ca59f522c5bec6bbd153a3be9f195a0e0ea822.tar.zst
freebsd-ports-gnome-e9ca59f522c5bec6bbd153a3be9f195a0e0ea822.zip
- Stage support
- Update to version 4.4.3 PR: 187041 Submitted by: ports fury
Diffstat (limited to 'biology/seaview')
-rw-r--r--biology/seaview/Makefile35
-rw-r--r--biology/seaview/distinfo4
2 files changed, 18 insertions, 21 deletions
diff --git a/biology/seaview/Makefile b/biology/seaview/Makefile
index ef44fd56c58d..f4153699fc74 100644
--- a/biology/seaview/Makefile
+++ b/biology/seaview/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= seaview
-PORTVERSION= 4.4.2
+PORTVERSION= 4.4.3
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= http://pbil.univ-lyon1.fr/software/seaview_data/archive/
@@ -13,14 +13,10 @@ COMMENT= Multiple DNA/protein sequence alignment editor
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
-OPTIONS_DEFINE= PDFLIB
-OPTIONS_DEFAULT=PDFLIB
-PDFLIB_DESC= PDFlib support
-
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= gmake
USE_XORG= xext xft xinerama
-USE_GMAKE= yes
MAKE_ENV= HELPFILE='-DDEFAULT_HELPFILE=\"${DATADIR}/seaview.html\"' \
PHYMLNAME='-DPHYMLNAME=\"phyml\"' \
IFLTK='-I${LOCALBASE}/include' \
@@ -29,21 +25,18 @@ MAKE_ENV= HELPFILE='-DDEFAULT_HELPFILE=\"${DATADIR}/seaview.html\"' \
OPT="${CFLAGS}"
ALL_TARGET= ${PORTNAME}
-PLIST_FILES= bin/seaview %%DATADIR%%/seaview.html
+PLIST_FILES= bin/seaview man/man1/seaview.1.gz %%DATADIR%%/seaview.html
PLIST_DIRS= %%DATADIR%%
DESKTOP_ENTRIES="SeaView" "${COMMENT}" "" \
"${PORTNAME}" "Biology;Science;" "true"
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPDFLIB}
-LIB_DEPENDS+= libpdf.so:${PORTSDIR}/print/pdflib
-MAKE_ENV+= LPDF='-L${LOCALBASE}/lib -lpdf'
-.else
-MAKE_ENV+= PDF_PS_FLAGS='-DNO_PDF'
-.endif
+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 \
@@ -56,8 +49,12 @@ post-patch:
s|-lpthread|-pthread|' ${WRKSRC}/Makefile
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} seaview ${PREFIX}/bin)
- @${MKDIR} ${DATADIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} seaview.html ${DATADIR})
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} seaview \
+ ${STAGEDIR}${PREFIX}/bin)
+ (cd ${WRKSRC} && ${INSTALL_MAN} seaview.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1)
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} seaview.html \
+ ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>
diff --git a/biology/seaview/distinfo b/biology/seaview/distinfo
index 6e6efc6eeb5e..03c4aaa3419d 100644
--- a/biology/seaview/distinfo
+++ b/biology/seaview/distinfo
@@ -1,2 +1,2 @@
-SHA256 (seaview_4.4.2.tar.gz) = 8f51c865556d447d34e5a1e2e9760fc309e9ca62b4ac43ea3e0aa648b5972800
-SIZE (seaview_4.4.2.tar.gz) = 323856
+SHA256 (seaview_4.4.3.tar.gz) = cf547cd5d81b85da3bf5c9446c514250d2253714ad66cabbeaa320f416e79d43
+SIZE (seaview_4.4.3.tar.gz) = 325513