freebsd-ports/emulators/dboxfe/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

39 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= dboxfe
PORTVERSION= 0.1.3
PORTREVISION= 6
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt4 based configuration manager for DOSBox
RUN_DEPENDS= dosbox:${PORTSDIR}/emulators/dosbox
USE_QT4= gui network xml uic_build moc_build qmake_build rcc_build
USES= qmake tar:bzip2
PLIST_FILES= bin/dboxfe \
bin/dboxfetray \
share/pixmaps/dboxfe.png
DESKTOP_ENTRIES= "DBoxFE" "DOSBox configuration manager" \
"${PREFIX}/share/pixmaps/dboxfe.png" \
"dboxfe" "Utility;Qt;" true \
"DBoxFEtray" "DBoxFE systray icon" \
"${PREFIX}/share/pixmaps/dboxfe.png" \
"dboxfetray" "Utility;Qt;TrayIcon;" true
post-build:
@(cd ${WRKSRC}/dboxfetray && \
${SETENV} ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS} && \
${SETENV} ${MAKE_ENV} ${MAKE})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfe ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfetray ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/dboxfetray/res/dboxfetray.png \
${STAGEDIR}${PREFIX}/share/pixmaps/dboxfe.png
.include <bsd.port.mk>