diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2016-03-01 11:12:14 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2016-03-01 11:12:14 +0000 |
commit | 04949eb2097c349761d57d5056df8c39f5f064e0 (patch) | |
tree | 122b9c14c700d7443bb09b34b973ae6edc77918f /emulators/quasi88/Makefile | |
parent | d3725485dc377339255bb2115d4d55a43721241e (diff) | |
download | ports-04949eb2097c349761d57d5056df8c39f5f064e0.tar.gz ports-04949eb2097c349761d57d5056df8c39f5f064e0.zip |
- Update to 0.6.4
- Update MASTER_SITES and unbreak
- Use option helpers and targets
- Update pkg-descr
PR: 205204
Submitted by: Ports fury
Notes
Notes:
svn path=/head/; revision=409868
Diffstat (limited to 'emulators/quasi88/Makefile')
-rw-r--r-- | emulators/quasi88/Makefile | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/emulators/quasi88/Makefile b/emulators/quasi88/Makefile index fcb7b5940559..6174b20b4041 100644 --- a/emulators/quasi88/Makefile +++ b/emulators/quasi88/Makefile @@ -2,49 +2,47 @@ # $FreeBSD$ PORTNAME= quasi88 -PORTVERSION= 0.6.3 -PORTREVISION= 5 +PORTVERSION= 0.6.4 CATEGORIES= emulators -MASTER_SITES= http://www.117.ne.jp/~show/pc8801/ +MASTER_SITES= http://www.eonet.ne.jp/~showtime/quasi88/release/ MAINTAINER= ports@FreeBSD.org COMMENT= PC-8801 emulator for X -BROKEN= unfetchable - USE_XORG= x11 xext USES= gmake tar:tgz MAKE_ENV= DATADIR="${DATADIR}" _CC="${CC}" _CFLAGS="${CFLAGS}" \ _CXX="${CXX}" LD="${CXX}" PROGRAM="${PORTNAME}" MAKE_ARGS= ARCH="freebsd" +DESKTOP_ENTRIES="Quasi88" "" "" "quasi88" "" "" + PORTDOCS= FAQ.TXT FORMAT.TXT GET-IMAGE.TXT HISTORY.TXT MANUAL.TXT \ QUASI88.TXT -PORTEXAMPLES= * +PORTEXAMPLES= keyconf.rc quasi88.rc PLIST_FILES= bin/quasi88 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS EXAMPLES SDL +OPTIONS_DEFAULT= SDL -.include <bsd.port.options.mk> +SDL_USE= sdl=sdl +SDL_MAKE_ENV= SDL_VERSION=1 X11_JOYSTICK="joy_sdl" +SDL_MAKE_ENV_OFF= X11_VERSION=1 X11_JOYSTICK="joy_bsd_usb" -.if ${ARCH} == "i386" -MAKE_ENV+= LSB_FIRST=1 -.endif +.include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MSDL} -USE_SDL= sdl -MAKE_ENV+= SDL_VERSION=1 JOYSTICK="joy_sdl" -.else -MAKE_ENV+= X11_VERSION=1 JOYSTICK="joy_bsd_usb" +.if ${ARCH} == amd64 || ${ARCH} == i386 +MAKE_ENV+= X11_LSB_FIRST=1 .endif post-patch: - @${REINPLACE_CMD} -e 's|^X11_|# X11_|g ; \ + @${REINPLACE_CMD} -e \ + 's|^X11_VERSION|# X11_VERSION|g ; \ s|~/quasi88|$${DATADIR}|g ; \ - s|^LSB_|# LSB_|g ; \ - s|^JOY|# JOY|g ; \ + s|^X11_LSB|# X11_LSB|g ; \ + s|^X11_JOY|# X11_JOY|g ; \ s|^SDL_|# SDL_|g ; \ s|gcc|$${_CC}|g ; \ s|-O2|$${_CFLAGS}|g ; \ @@ -56,10 +54,15 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/quasi88 ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/*.rc ${STAGEDIR}${EXAMPLESDIR} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/document && ${INSTALL_DATA} ${PORTDOCS} \ ${STAGEDIR}${DOCSDIR}) +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} \ + ${STAGEDIR}${EXAMPLESDIR}) + .include <bsd.port.mk> |