aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qglviewer/Makefile
blob: fb05901c66d151a488f8e4ce69429c4761ebe89e (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
# ex:ts=8
# New ports collection makefile for:    qglviewer
# Date created:         Dec 18, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   qglviewer
PORTVERSION=    1.3
CATEGORIES= graphics
MASTER_SITES=   http://www.qglviewer.de/

MAINTAINER= ports@FreeBSD.org

USE_LIBTOOL=    yes
USE_QT_VER= 2
GNU_CONFIGURE=  yes
QTCPPFLAGS= ${CXXFLAGS} ${PTHREAD_CFLAGS}
QTCFGLIBS=  ${PTHREAD_LIBS} -L${X11BASE}/lib -lqtgl
CONFIGURE_ENV=  QTDIR="${X11BASE}"
USE_GMAKE=  yes
INSTALLS_SHLIB= yes

post-patch:
    @${PERL} -pi -e "s,-lqt,-lqt2,g ; \
        s,-lqgl,-lqtgl,g ; \
        s,/moc,/moc2,g" ${WRKSRC}/configure

.include <bsd.port.mk>