aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qwt/Makefile
blob: a2003d6ad1531e4912221fd3db7716ed2b00862b (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# New ports collection makefile for:    Qwt
# Date created:     02 March 2002
# Whom:         Bob Bomar <bob@fly.homeunix.org>
#
# $FreeBSD$
#

PORTNAME=   qwt
PORTVERSION=    0.4.0
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=qwt

MAINTAINER=     bob@fly.homeunix.org

USE_QT_VER= 2

MAKE_ENV=   CXXFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
        INCPATH="-I${X11BASE}/include/qt2" \
        LIBS="-L${X11BASE}/lib" \
        QTDIR="${X11BASE}"  \
        MOC=${MOC}

MAN3=       Qwt.3           \
        QwtArrowButton.3    \
        QwtAutoScale.3      \
        QwtColorFilter.3    \
        QwtCounter.3        \
        QwtCurve.3      \
        QwtDblRange.3       \
        QwtDiMap.3      \
        QwtFltrDim.3        \
        QwtFltrGray.3       \
        QwtFltrInv.3        \
        QwtGrid.3       \
        QwtKnob.3       \
        QwtLegend.3     \
        QwtLegendItem.3     \
        QwtMarker.3     \
        QwtPixFrame.3       \
        QwtPlot.3       \
        QwtScale.3      \
        QwtScaleDiv.3       \
        QwtScaleDraw.3      \
        QwtScaleIf.3        \
        QwtSlider.3     \
        QwtSliderBase.3     \
        QwtSpline.3     \
        QwtSymbol.3     \
        QwtThermo.3     \
        QwtWheel.3      \
        bug.3           \
        changes.3       \
        install.3       \
        qwt_math.h.3        \
        screenshots.3

pre-build:
    ${LN} -fs ${WRKSRC}/makefiles/freebsd-g++ ${WRKSRC}/Makefile

do-install:
    ${INSTALL_DATA} ${WRKSRC}/libqwt.so.0.4.0 ${PREFIX}/lib
    ${LN} -fs libqwt.so.0.4.0 ${PREFIX}/lib/libqwt.so
    ${MKDIR} ${PREFIX}/include/qwt
    ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qwt
    ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/* ${PREFIX}/man/man3

.include <bsd.port.mk>