1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/emulators/vMac/Makefile

39 lines
963 B
Makefile

# Created by: troll
# $FreeBSD$
PORTNAME= vMac
PORTVERSION= 0.1.9.3
PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= http://www.vmac.org/download/XWindows/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Emulates a MacPlus machine! Runs MacOS versions up to 7.5.5
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_XORG= x11 ice sm xext
SUB_FILES= pkg-message
NO_STAGE= yes
pre-patch:
(cd ${WRKSRC} && ${SH} ${FILESDIR}/dos2unx gemulator.c)
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/vMac ${PREFIX}/bin
${STRIP_CMD} ${PREFIX}/bin/vMac
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rom ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>