diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2020-08-21 09:30:37 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2020-08-21 09:30:37 +0000 |
commit | 467fcde2072b78ae708e1544425bf77344ae06e7 (patch) | |
tree | 66d40f9fc9c8d72e2ec663611934177e46d60516 /emulators/dosbox-staging | |
parent | 9a55f724160a5f4f9d005fe7479574c52e1487b7 (diff) | |
download | ports-467fcde2072b78ae708e1544425bf77344ae06e7.tar.gz ports-467fcde2072b78ae708e1544425bf77344ae06e7.zip |
Add emulators/dosbox-staging - DOS/x86 emulator forked from DOSBox
I've renamed binary and man page to avoid conflict with emulators/dosbox.
Changelog: https://dosbox-staging.github.io/v0-75-0/
PR: 246318, 248253
Notes
Notes:
svn path=/head/; revision=545581
Diffstat (limited to 'emulators/dosbox-staging')
-rw-r--r-- | emulators/dosbox-staging/Makefile | 51 | ||||
-rw-r--r-- | emulators/dosbox-staging/distinfo | 3 | ||||
-rw-r--r-- | emulators/dosbox-staging/pkg-descr | 3 | ||||
-rw-r--r-- | emulators/dosbox-staging/pkg-plist | 4 |
4 files changed, 61 insertions, 0 deletions
diff --git a/emulators/dosbox-staging/Makefile b/emulators/dosbox-staging/Makefile new file mode 100644 index 000000000000..166eb6067b18 --- /dev/null +++ b/emulators/dosbox-staging/Makefile @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PORTNAME= dosbox-staging +DISTVERSIONPREFIX= v +DISTVERSION= 0.75.0 +CATEGORIES= emulators + +MAINTAINER= makc@FreeBSD.org +COMMENT= DOS/x86 emulator based on DOSBox + +LICENSE= GPLv2 + +LIB_DEPENDS= libopusfile.so:audio/opusfile \ + libpng.so:graphics/png + +USES= autoreconf compiler:c++11-lang gl pkgconfig sdl + +USE_GL= gl +USE_SDL= sdl2 net2 +USE_GITHUB= yes + +GNU_CONFIGURE= yes +LDFLAGS+= -pthread + +OPTIONS_DEFINE= ALSA DOCS + +ALSA_DESC= ALSA midi support +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_CONFIGURE_ENABLE= alsa-midi + +PORTDOCS= NEWS README README.md + +post-patch: + @${REINPLACE_CMD} 's,/usr/share/doc/dosbox-staging,${DOCSDIR},' \ + ${WRKSRC}/docs/dosbox.1 + @${REINPLACE_CMD} '/^Exec/s,dosbox,dosbox-staging,' \ + ${WRKSRC}/contrib/linux/dosbox-staging.desktop + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${STAGEDIR}${PREFIX}/bin/dosbox-staging + ${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${STAGEDIR}${PREFIX}/share/man/man1/dosbox-staging.1 + @${MKDIR} ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/contrib/linux/dosbox-staging.desktop ${STAGEDIR}${DESKTOPDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + ${INSTALL_DATA} ${WRKSRC}/contrib/icons/dosbox-staging.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/emulators/dosbox-staging/distinfo b/emulators/dosbox-staging/distinfo new file mode 100644 index 000000000000..a86a661c806b --- /dev/null +++ b/emulators/dosbox-staging/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1589360149 +SHA256 (dosbox-staging-dosbox-staging-v0.75.0_GH0.tar.gz) = 6279690a05b9cc134484b8c7d11e9c1cb53b50bdb9bf32bdf683bd66770b6658 +SIZE (dosbox-staging-dosbox-staging-v0.75.0_GH0.tar.gz) = 1805354 diff --git a/emulators/dosbox-staging/pkg-descr b/emulators/dosbox-staging/pkg-descr new file mode 100644 index 000000000000..da3918e82d60 --- /dev/null +++ b/emulators/dosbox-staging/pkg-descr @@ -0,0 +1,3 @@ +Modernized fork of DOSBox emulator. + +WWW: https://dosbox-staging.github.io/ diff --git a/emulators/dosbox-staging/pkg-plist b/emulators/dosbox-staging/pkg-plist new file mode 100644 index 000000000000..58a019512912 --- /dev/null +++ b/emulators/dosbox-staging/pkg-plist @@ -0,0 +1,4 @@ +bin/dosbox-staging +share/applications/dosbox-staging.desktop +share/icons/hicolor/scalable/apps/dosbox-staging.svg +share/man/man1/dosbox-staging.1.gz |