diff options
author | makc <makc@FreeBSD.org> | 2013-10-13 21:03:03 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-10-13 21:03:03 +0800 |
commit | a24b5a9439576d52b7a1e94d6c4dd3f0e5d8c13e (patch) | |
tree | 9d348bd41c93dc07e16d63761a277862fca2beec /german | |
parent | 59c0a46aa2540ee31e961d5f970ecb9f7804f01e (diff) | |
download | freebsd-ports-gnome-a24b5a9439576d52b7a1e94d6c4dd3f0e5d8c13e.tar.gz freebsd-ports-gnome-a24b5a9439576d52b7a1e94d6c4dd3f0e5d8c13e.tar.zst freebsd-ports-gnome-a24b5a9439576d52b7a1e94d6c4dd3f0e5d8c13e.zip |
- Convert unmaintained ports to USES=qmake
- Add stage support
- Convert LIB_DEPENDS to new syntax
- Minor changes/fixes
Diffstat (limited to 'german')
-rw-r--r-- | german/tipp10/Makefile | 40 | ||||
-rw-r--r-- | german/tipp10/files/patch-tipp10.pro | 10 |
2 files changed, 23 insertions, 27 deletions
diff --git a/german/tipp10/Makefile b/german/tipp10/Makefile index e76842d3c2ee..416aaddbe37f 100644 --- a/german/tipp10/Makefile +++ b/german/tipp10/Makefile @@ -9,39 +9,35 @@ MASTER_SITES= http://www.tipp10.com/en/download/ DISTNAME= tipp10_source_v2-1-0 MAINTAINER= ports@FreeBSD.org -COMMENT= A 10 finger touch typing learning program +COMMENT= 10-finger touch typing learning program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license_en.txt -RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite2.so:${PORTSDIR}/databases/qt4-sqlite-plugin \ - ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite.so:${PORTSDIR}/databases/qt4-sqlite3-plugin - +USES= qmake +USE_DOS2UNIX= *.pro *.cpp USE_ZIP= yes USE_QT4= gui sql corelib network script qtestlib \ - qmake_build rcc_build uic_build moc_build + qmake_build rcc_build uic_build moc_build \ + sql-sqlite2_run sql-sqlite3_run +QMAKE_ARGS+= DATADIR="${DATADIR}" WRKSRC= ${WRKDIR}/tipp10_source_v2-1-0 -NO_STAGE= yes pre-configure: @cd ${WRKSRC} \ && for i in `grep -lR 'QCoreApplication::applicationDirPath()' *`; do ${REINPLACE_CMD} -e 's/QCoreApplication::applicationDirPath()/QString(DATADIR)/g' $$i ; done -do-configure: - cd ${WRKSRC} \ - && ${SETENV} ${MAKE_ENV} DATADIR="${DATADIR}" ${QMAKE} -spec ${QMAKESPEC} - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tipp10 ${PREFIX}/bin - ${INSTALL_DATA} -d ${DATADIR}/help/de/img - ${INSTALL_DATA} -d ${DATADIR}/help/de/content - ${INSTALL_DATA} -d ${DATADIR}/help/en/img - ${INSTALL_DATA} -d ${DATADIR}/help/en/content - ${INSTALL_DATA} ${WRKSRC}/release/tipp10v2.template ${WRKSRC}/metronome.wav ${WRKSRC}/error.wav ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/release/help/de/index.html ${DATADIR}/help/de - ${INSTALL_DATA} ${WRKSRC}/release/help/de/content/* ${DATADIR}/help/de/content - ${INSTALL_DATA} ${WRKSRC}/release/help/de/img/* ${DATADIR}/help/de/img - ${INSTALL_DATA} ${WRKSRC}/release/help/en/index.html ${DATADIR}/help/en - ${INSTALL_DATA} ${WRKSRC}/release/help/en/content/* ${DATADIR}/help/en/content - ${INSTALL_DATA} ${WRKSRC}/release/help/en/img/* ${DATADIR}/help/en/img + ${INSTALL_PROGRAM} ${WRKSRC}/tipp10 ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} -d ${STAGEDIR}${DATADIR}/help/de/img + ${INSTALL_DATA} -d ${STAGEDIR}${DATADIR}/help/de/content + ${INSTALL_DATA} -d ${STAGEDIR}${DATADIR}/help/en/img + ${INSTALL_DATA} -d ${STAGEDIR}${DATADIR}/help/en/content + ${INSTALL_DATA} ${WRKSRC}/release/tipp10v2.template ${WRKSRC}/metronome.wav ${WRKSRC}/error.wav ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/release/help/de/index.html ${STAGEDIR}${DATADIR}/help/de + ${INSTALL_DATA} ${WRKSRC}/release/help/de/content/* ${STAGEDIR}${DATADIR}/help/de/content + ${INSTALL_DATA} ${WRKSRC}/release/help/de/img/* ${STAGEDIR}${DATADIR}/help/de/img + ${INSTALL_DATA} ${WRKSRC}/release/help/en/index.html ${STAGEDIR}${DATADIR}/help/en + ${INSTALL_DATA} ${WRKSRC}/release/help/en/content/* ${STAGEDIR}${DATADIR}/help/en/content + ${INSTALL_DATA} ${WRKSRC}/release/help/en/img/* ${STAGEDIR}${DATADIR}/help/en/img .include <bsd.port.mk> diff --git a/german/tipp10/files/patch-tipp10.pro b/german/tipp10/files/patch-tipp10.pro index 42d2e99e8675..05e362377731 100644 --- a/german/tipp10/files/patch-tipp10.pro +++ b/german/tipp10/files/patch-tipp10.pro @@ -1,8 +1,8 @@ --- tipp10.pro 2011-03-12 20:22:32.000000000 +0100 +++ tipp10.pro 2011-07-24 14:24:03.000000000 +0200 @@ -88,3 +88,5 @@ - sql/startsql.cpp \
- games/abcrainwidget.cpp \
- games/charball.cpp
-+
-+DEFINES += "DATADIR=\"\\\"$$(DATADIR)\\\"\""
+ sql/startsql.cpp \ + games/abcrainwidget.cpp \ + games/charball.cpp ++ ++DEFINES += "DATADIR=\"\\\"$$(DATADIR)\\\"\"" |