diff options
author | kmoore <kmoore@FreeBSD.org> | 2011-07-28 23:29:36 +0800 |
---|---|---|
committer | kmoore <kmoore@FreeBSD.org> | 2011-07-28 23:29:36 +0800 |
commit | 34ee3aadfddc7a64b20e21a6e1ed466d30080ee2 (patch) | |
tree | fe590b38fb29180bdb2d703df9041f498124dea2 /devel/qt4-qtsolutions-singleapplication | |
parent | ba0a4af2efd13a4f22ecf15ac63f60f8fee44586 (diff) | |
download | freebsd-ports-gnome-34ee3aadfddc7a64b20e21a6e1ed466d30080ee2.tar.gz freebsd-ports-gnome-34ee3aadfddc7a64b20e21a6e1ed466d30080ee2.tar.zst freebsd-ports-gnome-34ee3aadfddc7a64b20e21a6e1ed466d30080ee2.zip |
Simplify Makefile and fix some portlint errors.
Submitted by: makc@freebsd.org
Diffstat (limited to 'devel/qt4-qtsolutions-singleapplication')
-rw-r--r-- | devel/qt4-qtsolutions-singleapplication/Makefile | 34 | ||||
-rw-r--r-- | devel/qt4-qtsolutions-singleapplication/pkg-plist | 6 |
2 files changed, 17 insertions, 23 deletions
diff --git a/devel/qt4-qtsolutions-singleapplication/Makefile b/devel/qt4-qtsolutions-singleapplication/Makefile index 2ec934a14da9..f594f7fe1932 100644 --- a/devel/qt4-qtsolutions-singleapplication/Makefile +++ b/devel/qt4-qtsolutions-singleapplication/Makefile @@ -16,30 +16,30 @@ MAINTAINER= yurkis@gmail.com COMMENT= QT4 Solutions Single Application Framework USE_QT_VER= 4 -QT_COMPONENTS= qmake_build moc_build rcc_build uic_build gui network +QT_COMPONENTS= qmake_build moc_build rcc_build uic_build gui network +HAS_CONFIGURE= yes +USE_LDCONFIG= yes -SUB_PROJECT_NAME=qtsingleapplication +WRKSRC= ${WRKDIR}/qt-solutions-qt-solutions/${SUB_PROJECT_NAME} +BUILD_WRKSRC= ${WRKSRC}/buildlib -WRKSRC=${WRKDIR}/qt-solutions-qt-solutions/${SUB_PROJECT_NAME} -BUILD_WRKSRC=${WRKSRC}/buildlib +PLIST_FILES= ${LIBRARY_HEADERS:S,^,include/,} \ + lib/${LIBRARY_NAME} \ + lib/${LIBRARY_NAME}.1 -QMAKE_PRO=buildlib.pro +SUB_PROJECT_NAME= qtsingleapplication +QMAKE_PRO= buildlib.pro -USE_LDCONFIG = ${PREFIX}/lib - -LIBRARY_SUFFIX=SingleApplication -LIBRARY_HEADERS=${WRKSRC}/src/qtsingleapplication.h ${WRKSRC}/src/qtsinglecoreapplication.h - -HAS_CONFIGURE= yes +LIBRARY_NAME= libQtSolutions_SingleApplication-head.so +LIBRARY_HEADERS= qtsingleapplication.h qtsinglecoreapplication.h do-configure: - cd ${BUILD_WRKSRC} && ${QMAKE} ${QMAKE_PRO} + cd ${BUILD_WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${QMAKE_PRO} do-install: - ${INSTALL_LIB} ${WRKSRC}/lib/libQtSolutions_${LIBRARY_SUFFIX}-head.so.1.0.0 ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libQtSolutions_${LIBRARY_SUFFIX}-head.so.1.0.0 ${PREFIX}/lib/libQtSolutions_${LIBRARY_SUFFIX}-head.so.1.0 - ${LN} -sf ${PREFIX}/lib/libQtSolutions_${LIBRARY_SUFFIX}-head.so.1.0.0 ${PREFIX}/lib/libQtSolutions_${LIBRARY_SUFFIX}-head.so.1 - ${LN} -sf ${PREFIX}/lib/libQtSolutions_${LIBRARY_SUFFIX}-head.so.1.0.0 ${PREFIX}/lib/libQtSolutions_${LIBRARY_SUFFIX}-head.so - ${INSTALL_DATA} ${LIBRARY_HEADERS} ${PREFIX}/include + ${MKDIR} ${PREFIX}/include ${PREFIX}/lib + cd ${WRKSRC}/src && ${INSTALL_DATA} ${LIBRARY_HEADERS} ${PREFIX}/include + ${INSTALL_LIB} ${WRKSRC}/lib/${LIBRARY_NAME}.1.0.0 ${PREFIX}/lib/${LIBRARY_NAME}.1 + ${LN} -sf ${PREFIX}/lib/${LIBRARY_NAME}.1 ${PREFIX}/lib/${LIBRARY_NAME} .include <bsd.port.mk> diff --git a/devel/qt4-qtsolutions-singleapplication/pkg-plist b/devel/qt4-qtsolutions-singleapplication/pkg-plist deleted file mode 100644 index f014e2594b7b..000000000000 --- a/devel/qt4-qtsolutions-singleapplication/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -include/qtsingleapplication.h -include/qtsinglecoreapplication.h -lib/libQtSolutions_SingleApplication-head.so -lib/libQtSolutions_SingleApplication-head.so.1 -lib/libQtSolutions_SingleApplication-head.so.1.0 -lib/libQtSolutions_SingleApplication-head.so.1.0.0 |