aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qglviewer/Makefile
blob: b9fabc27c7435e3c9c3252f1d82221ae2f437a42 (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
# 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_REINPLACE=  yes
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:
    @${REINPLACE_CMD} -e "s,-lqt,-lqt2,g ; \
        s,-lqgl,-lqtgl,g ; \
        s,/moc,/moc2,g" ${WRKSRC}/configure

.include <bsd.port.mk>