diff options
Diffstat (limited to 'emulators/xgs/Makefile')
-rw-r--r-- | emulators/xgs/Makefile | 59 |
1 files changed, 37 insertions, 22 deletions
diff --git a/emulators/xgs/Makefile b/emulators/xgs/Makefile index 1515150e9638..ff3ef2e8bb83 100644 --- a/emulators/xgs/Makefile +++ b/emulators/xgs/Makefile @@ -1,40 +1,55 @@ -# New ports collection makefile for: xgs-0.40 -# Version required: 0.40 -# Date created: 17th January 1996 -# Whom: Joel Sutton <suttonj@interconnect.com.au> +# New ports collection makefile for: xgs-0.50 +# Version required: 0.50 +# Date created: 2nd May, 1997 +# Whom: Joel Sutton <sutton@aardvark.apana.org.au> +# FreeBSD Version: 2.1.5-RELEASE # -# $Id: Makefile,v 1.1.1.1 1997/02/24 13:50:06 tg Exp $ +# $Id$ # - -DISTNAME= xgs-0.40 + +# This is the stable release of the xgs emulator. Sound support is +# currently broken. + +# Distfile collection and extraction stuff +# +DISTNAME= xgs-0.50-src +PKGNAME= xgs-0.50 +EXTRACT_SUFX= .tar.gz CATEGORIES= emulators -MASTER_SITES= http://www.optera.com/~invid/emulators/XGS/ \ +MASTER_SITES= ftp://ftp.optera.com/pub/xgs/ \ ftp://ftp.apple.asimov.net/pub/apple_II/emulators/rom_images/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ROMFILE} -MAINTAINER= suttonj@interconnect.com.au +MAINTAINER= sutton@aardvark.apana.org.au +DIST_SUBDIR= xgs +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xgs.rom EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -NO_PACKAGE= ${RESTRICTED} RESTRICTED= "xgs.rom copyright is owned by Apple and cannot be distributed" +NO_PACKAGE= ${RESTRICTED} + +# Source building +# WRKSRC= ${WRKDIR}/xgs USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-oss-sound +CONFIGURE_ARGS= --with-x --datadir="${PREFIX}/lib" -#INSTALL_DATA?= install -c -o bin -g bin -ROMFILE= xgs.rom -XGS= /share/xgs - -post-patch: - cp ${DISTDIR}/${ROMFILE} ${WRKSRC} +# Directories etc... +# +XGS_DOC= ${PREFIX}/share/doc/xgs +XGS_LIB= ${PREFIX}/lib/xgs +DOC_FILES= CHANGES.TXT COMPAT.TXT INSTALL.TXT TODO.TXT \ + IWM-DOC.TXT XGS-FAQ.TXT post-install: .if !defined(NOPORTDOCS) - ${INSTALL_DATA} -m 644 ${WRKSRC}/CHANGES ${WRKSRC}/COMPATIBILITY \ - ${WRKSRC}/README ${WRKSRC}/TO-DO ${PREFIX}${XGS}/ - ${INSTALL_DATA} -m 644 ${PKGDIR}/DESCR ${PREFIX}${XGS}/README.FreeBSD + -${MKDIR} ${XGS_DOC} + for file in ${DOC_FILES} ; do \ + ${INSTALL_DATA} ${WRKSRC}/docs/$$file ${XGS_DOC}/ ;\ + done + ${INSTALL_DATA} ${PKGDIR}/DESCR ${XGS_DOC}/README.FreeBSD .endif - ${INSTALL_DATA} -m 666 /dev/null ${PREFIX}${XGS}/xgs.ram + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/xgs.rom ${XGS_LIB}/ + ${INSTALL_DATA} -m 666 /dev/null ${XGS_LIB}/xgs.ram .include <bsd.port.mk> |