freebsd-ports/x11-toolkits/qscintilla/Makefile
Florent Thoumie b2b20f24f4 - Update to 1.5.1.
Approved by:	pav (mentor)
2005-03-11 08:41:10 +00:00

37 lines
1 KiB
Makefile

# New ports collection makefile for: qscintilla
# Date created: 2003-08-02
# Whom: arved
#
# $FreeBSD$
PORTNAME= qscintilla
PORTVERSION= 1.5.1
CATEGORIES= x11-toolkits
MASTER_SITES= http://www.river-bank.demon.co.uk/download/QScintilla/
DISTNAME= qscintilla-1.62-gpl-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= QT port of scintilla
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
WRKSRC= ${WRKDIR}/${DISTNAME}/qt
USE_X_PREFIX= yes
USE_QT_VER= 3
CONFIGURE_ENV= QTDIR="${X11BASE}"
MAKE_ENV= QTDIR="${X11BASE}"
INSTALLS_SHLIB= yes
do-configure:
cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake \
-spec ${LOCALBASE}/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.5.2.0 ${PREFIX}/lib/libqscintilla.so.5
${LN} -sf ${PREFIX}/lib/libqscintilla.so.5 ${PREFIX}/lib/libqscintilla.so
.include <bsd.port.mk>