aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-04-09 00:16:20 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-04-09 00:16:20 +0000
commit731a2b53ea032f3634e1b31e8e67ea0ed51fe7f5 (patch)
treea188f5eb89b6117d079f739d4346ed73ae3986c4 /emulators
parent1e0d8c9112e8493a5f7edfd1134a422c3e3efac3 (diff)
downloadports-731a2b53ea032f3634e1b31e8e67ea0ed51fe7f5.tar.gz
ports-731a2b53ea032f3634e1b31e8e67ea0ed51fe7f5.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wahcade/Makefile14
-rw-r--r--emulators/wahcade/distinfo6
-rw-r--r--emulators/wahcade/pkg-plist11
3 files changed, 23 insertions, 8 deletions
diff --git a/emulators/wahcade/Makefile b/emulators/wahcade/Makefile
index 18c3b6fd66e9..6e84e813e49c 100644
--- a/emulators/wahcade/Makefile
+++ b/emulators/wahcade/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= wahcade
-PORTVERSION= 0.16
+PORTVERSION= 0.19
CATEGORIES= emulators
MASTER_SITES= http://www.anti-particle.com/projects/wahcade/
@@ -24,6 +24,8 @@ OPTIONS= MPLAYER "Install mplayer for movie playback" off \
SUB_FILES= pkg-message
+WRAPPERS= wahcade wahcade-layout-editor wahcade-setup
+
.include <bsd.port.pre.mk>
.if defined(WITH_MPLAYER)
@@ -35,13 +37,17 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
.endif
do-build:
+.for f in ${WRAPPERS}
@(${ECHO_CMD} "#!${SH}"; \
${ECHO_CMD} "cd ${DATADIR} || exit 1"; \
- ${ECHO_CMD} 'exec ${PYTHON_CMD} ${PORTNAME}.py "$$@"') \
- > ${WRKSRC}/${PORTNAME}
+ ${ECHO_CMD} 'exec ${PYTHON_CMD} ${f}.py "$$@"') \
+ > ${WRKSRC}/${f}
+.endfor
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.for f in ${WRAPPERS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
+.endfor
${MKDIR} ${DATADIR}
.for f in *.py config.dist glade locale pixmaps templates
${CP} -R ${WRKSRC}/${f} ${DATADIR}
diff --git a/emulators/wahcade/distinfo b/emulators/wahcade/distinfo
index 69a07ab45c73..60f84d83cd59 100644
--- a/emulators/wahcade/distinfo
+++ b/emulators/wahcade/distinfo
@@ -1,3 +1,3 @@
-MD5 (wahcade-0.16.tar.gz) = f5c5ad11755cf68e01a0fc45de20ddea
-SHA256 (wahcade-0.16.tar.gz) = 01d61cf4b920b19df34282c50559f1f24597b4982f9f712f891959ded0afa553
-SIZE (wahcade-0.16.tar.gz) = 194939
+MD5 (wahcade-0.19.tar.gz) = 625056a09cae4a54f91b06e20697a502
+SHA256 (wahcade-0.19.tar.gz) = 1e4c15bdcad75e3d3f9e3dfd76228370619d0874310c606e66185818636e08e9
+SIZE (wahcade-0.19.tar.gz) = 211045
diff --git a/emulators/wahcade/pkg-plist b/emulators/wahcade/pkg-plist
index bad3657888b6..1d5f0d883db6 100644
--- a/emulators/wahcade/pkg-plist
+++ b/emulators/wahcade/pkg-plist
@@ -1,4 +1,6 @@
bin/wahcade
+bin/wahcade-layout-editor
+bin/wahcade-setup
share/applications/wahcade.desktop
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/COPYING
@@ -53,7 +55,9 @@ share/applications/wahcade.desktop
%%DATADIR%%/layout_editor.py
%%DATADIR%%/layout_props.py
%%DATADIR%%/layout_scr_props.py
+%%DATADIR%%/locale/en/LC_MESSAGES/wahcade.mo
%%DATADIR%%/locale/en_GB/LC_MESSAGES/wahcade.mo
+%%DATADIR%%/locale/sv/LC_MESSAGES/wahcade.mo
%%DATADIR%%/mamewah_ini.py
%%DATADIR%%/mplayer.py
%%DATADIR%%/pixmaps/empty.png
@@ -76,16 +80,20 @@ share/applications/wahcade.desktop
%%DATADIR%%/wc_common.py
%%DATADIR%%/wc_setup.py
%%DATADIR%%/win_cpviewer.py
+%%DATADIR%%/win_filter.py
%%DATADIR%%/win_history.py
%%DATADIR%%/win_main.py
%%DATADIR%%/win_message.py
%%DATADIR%%/win_options.py
%%DATADIR%%/win_scrsaver.py
-@dirrmtry share/applications
@dirrm %%DATADIR%%/templates
@dirrm %%DATADIR%%/pixmaps
+@dirrm %%DATADIR%%/locale/sv/LC_MESSAGES
+@dirrm %%DATADIR%%/locale/sv
@dirrm %%DATADIR%%/locale/en_GB/LC_MESSAGES
@dirrm %%DATADIR%%/locale/en_GB
+@dirrm %%DATADIR%%/locale/en/LC_MESSAGES
+@dirrm %%DATADIR%%/locale/en
@dirrm %%DATADIR%%/locale
@dirrm %%DATADIR%%/glade
@dirrm %%DATADIR%%/config.dist/layouts/histview
@@ -102,3 +110,4 @@ share/applications/wahcade.desktop
%%PORTDOCS%%@dirrm %%DOCSDIR%%/xmame
%%PORTDOCS%%@dirrm %%DOCSDIR%%/file_formats
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications