diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-10-09 10:08:04 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-10-09 10:08:04 +0000 |
commit | a821cad16d83cd8b2939cfb7924f3f24e55b6b63 (patch) | |
tree | 783ac82dca4d834a26ba06cd6c31ec4c55c74099 /emulators/dboxfe | |
parent | ef6503643e7669a618e90c44f3dd453e2b7b81ec (diff) | |
download | ports-a821cad16d83cd8b2939cfb7924f3f24e55b6b63.tar.gz ports-a821cad16d83cd8b2939cfb7924f3f24e55b6b63.zip |
Notes
Diffstat (limited to 'emulators/dboxfe')
-rw-r--r-- | emulators/dboxfe/Makefile | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/emulators/dboxfe/Makefile b/emulators/dboxfe/Makefile index 7ff9ea776afc..be34abad5c8a 100644 --- a/emulators/dboxfe/Makefile +++ b/emulators/dboxfe/Makefile @@ -14,7 +14,7 @@ RUN_DEPENDS= dosbox:${PORTSDIR}/emulators/dosbox USE_BZIP2= yes USE_QT4= gui network xml uic_build moc_build qmake_build rcc_build -HAS_CONFIGURE= yes +USES= qmake PLIST_FILES= bin/dboxfe \ bin/dboxfetray \ @@ -22,29 +22,20 @@ PLIST_FILES= bin/dboxfe \ DESKTOP_ENTRIES= "DBoxFE" "DOSBox configuration manager" \ "${PREFIX}/share/pixmaps/dboxfe.png" \ - "dboxfe" "Utility;Qt;" false \ + "dboxfe" "Utility;Qt;" true \ "DBoxFEtray" "DBoxFE systray icon" \ "${PREFIX}/share/pixmaps/dboxfe.png" \ - "dboxfetray" "Utility;Qt;TrayIcon;" false + "dboxfetray" "Utility;Qt;TrayIcon;" true -PRO_DIRS= . dboxfetray - -NO_STAGE= yes -do-configure: -.for dir in ${PRO_DIRS} - @(cd ${WRKSRC}/${dir} && \ - ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}) -.endfor - -do-build: -.for dir in ${PRO_DIRS} - @(cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${MAKE}) -.endfor +post-build: + @(cd ${WRKSRC}/dboxfetray && \ + ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} && \ + ${SETENV} ${MAKE_ENV} ${MAKE}) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfe ${PREFIX}/bin/dboxfe - ${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfetray ${PREFIX}/bin/dboxfetray + ${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfe ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfetray ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/dboxfetray/res/dboxfetray.png \ - ${PREFIX}/share/pixmaps/dboxfe.png + ${STAGEDIR}${PREFIX}/share/pixmaps/dboxfe.png .include <bsd.port.mk> |