1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/biology/seaview/Makefile
Muhammad Moinur Rahman 424e280054 biology/seaview: Update version 4.6.3=>4.6.5
- Pet portlint
2018-04-24 12:31:32 +00:00

54 lines
1.4 KiB
Makefile

# Created by: frankch@waru.life.nthu.edu.tw
# $FreeBSD$
PORTNAME= seaview
PORTVERSION= 4.6.5
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Multiple DNA/protein sequence alignment editor
LICENSE= GPLv3
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
libfontconfig.so:x11-fonts/fontconfig \
libpng.so:graphics/png
PORTSCOUT= skipv:4.6.1.3
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gmake jpeg
USE_XORG= x11 xcursor xext xfixes xft xinerama xrender
MAKE_ENV= HELPFILE='-DDEFAULT_HELPFILE=\"${DATADIR}/seaview.html\"' \
PHYMLNAME='-DPHYMLNAME=\"phyml\"' \
IFLTK='-I${LOCALBASE}/include' \
LFLTK='-L${LOCALBASE}/lib' \
USE_XFT='-DUSE_XFT' \
OPT="${CFLAGS}"
ALL_TARGET= ${PORTNAME}
DESKTOP_ENTRIES="SeaView" "" "${PREFIX}/share/pixmaps/seaview.xpm" "seaview" \
"Biology;Science;" true
post-patch:
${REINPLACE_CMD} -e \
's|^\(CC\) |#\1 | ; s|-ldl || ; \
s|^\(CXX\) |#\1 |' ${WRKSRC}/Makefile
do-install:
(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})
(cd ${WRKSRC} && ${INSTALL_DATA} seaview.xpm \
${STAGEDIR}${PREFIX}/share/pixmaps)
.include <bsd.port.mk>