aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qscintilla/Makefile
blob: ce95aa411c0062cb19825ba10a106c7a88b36549 (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
# New ports collection makefile for:    qscintilla
# Date created:             2003-08-02
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   qscintilla
PORTVERSION=    1.2
CATEGORIES= x11-toolkits
MASTER_SITES=   http://www.river-bank.demon.co.uk/download/QScintilla/
DISTNAME=   qscintilla-1.54-x11-gpl-${PORTVERSION}

MAINTAINER= arved@FreeBSD.org
COMMENT=    QT port of scintilla

USE_QT_VER= 3
WRKSRC=     ${WRKDIR}/${DISTNAME}/qt
CONFIGURE_ENV=  QTDIR="${X11BASE}"
MAKE_ENV=   QTDIR="${X11BASE}"
USE_X_PREFIX=   yes
INSTALLS_SHLIB= yes

do-configure:
    cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${X11BASE}/bin/qmake \
        -spec ${X11BASE}/share/qt/mkspecs/freebsd-g++ qscintilla.pro

do-install:
    ${INSTALL_DATA} ${WRKSRC}/qextscintilla*.h ${PREFIX}/include;
    ${MKDIR} ${DATADIR}/translations
    ${INSTALL_DATA} ${WRKSRC}/qscintilla*.qm ${DATADIR}/translations
    ${INSTALL_DATA} ${WRKSRC}/libqscintilla.so.3.0.0 ${PREFIX}/lib/libqscintilla.so.3
    ${LN} -sf ${PREFIX}/lib/libqscintilla.so.3 ${PREFIX}/lib/libqscintilla.so

.include <bsd.port.mk>