freebsd-ports/x11-toolkits/qscintilla/Makefile
Kirill Ponomarev 9db5e8f8c5 Update to version 1.5
PR:		ports/77978
Submitted by:	Ports Fury
2005-02-25 14:30:37 +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
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>