aboutsummaryrefslogtreecommitdiffstats
path: root/science/kmovisto/Makefile
blob: be4733bf346273f598dcef6239ea90393e01841d (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
32
33
34
35
36
37
38
39
40
41
42
# ex:ts=8
# Ports collection Makefile for:    kmovisto
# Date created:         Oct 23, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   kmovisto
PORTVERSION=    0.7.0
PORTREVISION=   8
CATEGORIES= science
MASTER_SITES=   http://mitglied.multimania.de/pageofmh/download/

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

DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE=    2013-07-01

USE_XORG=   x11 ice xext
USE_QT_VER= 3
USE_GL=     yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/kmovisto/kmovisto ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/kmovisto/docs/en/*.html ${DOCSDIR}
    @${MKDIR} ${DOCSDIR}/images
    ${INSTALL_DATA} ${WRKSRC}/kmovisto/docs/en/images/*.jpg ${DOCSDIR}/images
.endif

.include <bsd.port.mk>