diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-10-26 04:38:03 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-10-26 04:38:03 +0800 |
commit | 9b8a5f5639789c52a43f8898a41ec3e9a0f8fd8a (patch) | |
tree | f456dd91759cdfd7f67e01a266b4717b4d48c73d /emulators/hatari | |
parent | 60ba93ebcb8eee0ac357d18532b4d8166f56205a (diff) | |
download | freebsd-ports-gnome-9b8a5f5639789c52a43f8898a41ec3e9a0f8fd8a.tar.gz freebsd-ports-gnome-9b8a5f5639789c52a43f8898a41ec3e9a0f8fd8a.tar.zst freebsd-ports-gnome-9b8a5f5639789c52a43f8898a41ec3e9a0f8fd8a.zip |
- Simplify master sites
- Fix portaudio2 dependency due to recent commit
- Support STAGEDIR
- Change pkg-plist, remove DOCS
Approved by: pawel / wg (mentors, implicit)
Diffstat (limited to 'emulators/hatari')
-rw-r--r-- | emulators/hatari/Makefile | 41 | ||||
-rw-r--r-- | emulators/hatari/pkg-plist | 43 |
2 files changed, 25 insertions, 59 deletions
diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile index 1aaba398c74e..fce3e887bc25 100644 --- a/emulators/hatari/Makefile +++ b/emulators/hatari/Makefile @@ -4,17 +4,16 @@ PORTNAME= hatari PORTVERSION= 1.7.0 CATEGORIES= emulators -MASTER_SITES= http://download.tuxfamily.org/hatari/%SUBDIR%/ -MASTER_SITE_SUBDIR= ${PORTVERSION} +MASTER_SITES= http://download.tuxfamily.org/hatari/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Atari ST emulator -LICENSE= GPLv2 # (or later) +LICENSE= GPLv2 -BUILD_DEPENDS= portaudio>=19:${PORTSDIR}/audio/portaudio2 +BUILD_DEPENDS= portaudio2>=0:${PORTSDIR}/audio/portaudio2 LIB_DEPENDS= png15:${PORTSDIR}/graphics/png -RUN_DEPENDS= portaudio>=19:${PORTSDIR}/audio/portaudio2 +RUN_DEPENDS= portaudio2>=0:${PORTSDIR}/audio/portaudio2 OPTIONS_DEFINE= DOCS @@ -28,18 +27,11 @@ CMAKE_ARGS= -DPORTAUDIO_INCLUDE_DIR:STRING="${PA2_INCLUDE_DIR}" \ -DETCDIR:STRING="${PREFIX}/etc" \ -DMANDIR:STRING="man/man1" -MANCOMPRESSED= yes -MANLANG= "" fr -MAN1= ${PORTNAME}.1 -MAN1_EN= atari-hd-image.1 gst2ascii.1 hatari_profile.1 hatariui.1 \ - hconsole.1 hmsa.1 zip2st.1 - CFLAGS+= -I${LOCALBASE}/include/portaudio2 PA2_INCLUDE_DIR=-I${LOCALBASE}/include/portaudio2 PA2_LIBRARY= ${LOCALBASE}/lib/portaudio2/libportaudio.so -NO_STAGE= yes -.include <bsd.port.options.mk> +PORTDOCS= * post-patch: .for file in doc/hatari.1 doc/fr/hatari.1 tools/hconsole/hconsole.1 @@ -58,18 +50,17 @@ post-build: post-install: (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.1.gz \ - ${MANPREFIX}/man/man1) - @${MKDIR} ${MANPREFIX}/man/fr/man1 + ${STAGEDIR}${MANPREFIX}/man/man1) + @${MKDIR} ${STAGEDIR}${MANPREFIX}/man/fr/man1 (cd ${WRKSRC}/doc/fr && ${INSTALL_MAN} ${PORTNAME}.1.gz \ - ${MANPREFIX}/man/fr/man1) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} readme.txt ${DOCSDIR}) - (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html [a-z]*.txt ${DOCSDIR}) - @${MKDIR} ${DOCSDIR}/fr - (cd ${WRKSRC}/doc/fr && ${INSTALL_DATA} *.txt ${DOCSDIR}/fr) - @${MKDIR} ${DOCSDIR}/images - (cd ${WRKSRC}/doc/images && ${INSTALL_DATA} *.png ${DOCSDIR}/images) -.endif + ${STAGEDIR}${MANPREFIX}/man/fr/man1) + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} readme.txt ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html [a-z]*.txt ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR}/fr + (cd ${WRKSRC}/doc/fr && ${INSTALL_DATA} *.txt ${STAGEDIR}${DOCSDIR}/fr) + @${MKDIR} ${STAGEDIR}${DOCSDIR}/images + (cd ${WRKSRC}/doc/images && ${INSTALL_DATA} *.png ${STAGEDIR}${DOCSDIR}/images) .include <bsd.port.mk> diff --git a/emulators/hatari/pkg-plist b/emulators/hatari/pkg-plist index 6af0b4b8db6d..6a67a2f1cbf3 100644 --- a/emulators/hatari/pkg-plist +++ b/emulators/hatari/pkg-plist @@ -5,36 +5,16 @@ bin/hatari_profile.py bin/hatariui bin/hmsa bin/zip2st +man/fr/man1/hatari.1.gz +man/man1/atari-hd-image.1.gz +man/man1/gst2ascii.1.gz +man/man1/hatari.1.gz +man/man1/hatari_profile.1.gz +man/man1/hatariui.1.gz +man/man1/hconsole.1.gz +man/man1/hmsa.1.gz +man/man1/zip2st.1.gz share/applications/hatariui.desktop -%%PORTDOCS%%%%DOCSDIR%%/authors.txt -%%PORTDOCS%%%%DOCSDIR%%/changelog.txt -%%PORTDOCS%%%%DOCSDIR%%/coding.txt -%%PORTDOCS%%%%DOCSDIR%%/compatibility.html -%%PORTDOCS%%%%DOCSDIR%%/emutos.txt -%%PORTDOCS%%%%DOCSDIR%%/fr/clavier-exemple.txt -%%PORTDOCS%%%%DOCSDIR%%/images/callgraph.png -%%PORTDOCS%%%%DOCSDIR%%/images/devices.png -%%PORTDOCS%%%%DOCSDIR%%/images/fileselector.png -%%PORTDOCS%%%%DOCSDIR%%/images/floppydisks.png -%%PORTDOCS%%%%DOCSDIR%%/images/harddisks.png -%%PORTDOCS%%%%DOCSDIR%%/images/joystick.png -%%PORTDOCS%%%%DOCSDIR%%/images/kcachegrind.png -%%PORTDOCS%%%%DOCSDIR%%/images/keyboard.png -%%PORTDOCS%%%%DOCSDIR%%/images/main.png -%%PORTDOCS%%%%DOCSDIR%%/images/memory.png -%%PORTDOCS%%%%DOCSDIR%%/images/monitor.png -%%PORTDOCS%%%%DOCSDIR%%/images/newfloppy.png -%%PORTDOCS%%%%DOCSDIR%%/images/screen.png -%%PORTDOCS%%%%DOCSDIR%%/images/sound.png -%%PORTDOCS%%%%DOCSDIR%%/images/system.png -%%PORTDOCS%%%%DOCSDIR%%/images/tos.png -%%PORTDOCS%%%%DOCSDIR%%/keymap-sample.txt -%%PORTDOCS%%%%DOCSDIR%%/manual.html -%%PORTDOCS%%%%DOCSDIR%%/memory-usage.txt -%%PORTDOCS%%%%DOCSDIR%%/midi-linux.txt -%%PORTDOCS%%%%DOCSDIR%%/readme.txt -%%PORTDOCS%%%%DOCSDIR%%/release-notes.txt -%%PORTDOCS%%%%DOCSDIR%%/todo.txt %%DATADIR%%/hatari-icon.bmp %%DATADIR%%/hatariui/README %%DATADIR%%/hatariui/TODO @@ -58,8 +38,3 @@ share/pixmaps/hatari-icon.png @dirrm %%DATADIR%%/hconsole @dirrm %%DATADIR%%/hatariui @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%/images -%%PORTDOCS%%@dirrm %%DOCSDIR%%/fr -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrmtry man/fr/man1 -@dirrmtry man/fr |