diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-25 18:10:12 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-25 18:10:12 +0000 |
commit | 77330019c7083bf6702d326b7806ed935eef3dd7 (patch) | |
tree | a75748cdf29cd87e12aed7303297e93e950ec6fe /devel | |
parent | 8518a1f60b5cbf00a178f00eb16944afc0491b6a (diff) | |
download | ports-77330019c7083bf6702d326b7806ed935eef3dd7.tar.gz ports-77330019c7083bf6702d326b7806ed935eef3dd7.zip |
- Convert to USES=qamke
- Support staging properly
Notes
Notes:
svn path=/head/; revision=334875
Diffstat (limited to 'devel')
-rw-r--r-- | devel/qscintilla2/Makefile | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/devel/qscintilla2/Makefile b/devel/qscintilla2/Makefile index 17bd84eb5699..c7cfb275c907 100644 --- a/devel/qscintilla2/Makefile +++ b/devel/qscintilla2/Makefile @@ -9,35 +9,31 @@ MASTER_SITES= ${MASTER_SITES_QSCI2} DISTNAME= ${QSCI2_DISTNAME} MAINTAINER= kde@FreeBSD.org -COMMENT= Qt4 port of the Scintilla C++ editor class +COMMENT= Qt 4 port of the Scintilla C++ editor class -USE_QT4= qmake_build moc_build gui xml designer -HAS_CONFIGURE= yes +USES= qmake +USE_QT4= moc_build gui xml designer USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/Qt4Qt5 +CONFIGURE_WRKSRC= ${BUILD_WRKSRC} INSTALL_WRKSRC= ${BUILD_WRKSRC} -QMAKE_ARGS= -unix PREFIX=${PREFIX} - PORTDOCS= * PORTEXAMPLES= * +OPTIONS_DEFINE= DOCS EXAMPLES NLS +OPTIONS_SUB= yes + .include "${.CURDIR}/../py-qt4/bsd.pyqt.mk" .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MNLS} -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif - post-patch: cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e \ - 's|$$$$\[QT_INSTALL_HEADERS\]|${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}|; \ - s|$$$$\[QT_INSTALL_LIBS\]|${STAGEDIR}${PREFIX}/${QT_LIBDIR_REL}|; \ - s|$$$$\[QT_INSTALL_TRANSLATIONS\]|${STAGEDIR}${PREFIX}/share/qt4/translations|; \ - s|$$$$\[QT_INSTALL_DATA\]|${STAGEDIR}${PREFIX}/share/qt4|' \ + 's|$$$$\[QT_INSTALL_HEADERS\]|${PREFIX}/${QT_INCDIR_REL}|; \ + s|$$$$\[QT_INSTALL_LIBS\]|${PREFIX}/${QT_LIBDIR_REL}|; \ + s|$$$$\[QT_INSTALL_TRANSLATIONS\]|${PREFIX}/share/qt4/translations|; \ + s|$$$$\[QT_INSTALL_DATA\]|${PREFIX}/share/qt4|' \ qscintilla.pro .if empty(PORT_OPTIONS:MNLS) @@ -45,10 +41,6 @@ post-patch: 's|trans qsci|qsci|' qscintilla.pro .endif -do-configure: - cd ${BUILD_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ - ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} qscintilla.pro - post-install: .if ${PORT_OPTIONS:MDOCS} cd ${WRKSRC} &&\ |