summaryrefslogtreecommitdiff
path: root/science/kmovisto/Makefile
blob: b4b1d76c438bf196bc9b5cf1bbc0b97c71e835d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ex:ts=8
# Ports collection Makefile for:	kmovisto
# Date created:			Oct 23, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	kmovisto
PORTVERSION=	0.6.0
CATEGORIES=	science
MASTER_SITES=	http://mitglied.lycos.de/pageofmh/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A real 3-D molecule viewer

USE_REINPLACE=	yes
USE_QT_VER=	3
USE_MESA=	yes
USE_GNOME=	gnometarget
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}

post-patch:
	@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
		-e "s|-pedantic||g" -e "s|-ldl||g" ${WRKSRC}/configure
	@${REINPLACE_CMD} -e "s|-ldl||g" ${WRKSRC}/kmovisto/Makefile.in

.include <bsd.port.mk>