freebsd-ports/emulators/minivmac/Makefile
Mario Sergio Fujikawa Ferreira 18cf29fea7 New port minivmac version 0.1.7: A miniature Macintosh emulator
Submitted by:	blackend
2002-11-13 19:22:30 +00:00

42 lines
1,010 B
Makefile

# New ports collection makefile for: minivmac
# Date created: 9 November 2002
# Whom: Marc Fonvieille <blackend@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= minivmac
PORTVERSION= 0.1.7
CATEGORIES= emulators
MASTER_SITES= http://www.gryphel.com/c/download/ \
${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/minivmac/}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
EXTRACT_SUFX= .tgz
MAINTAINER= blackend@FreeBSD.org
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
# CC,CFLAGS,LD safeness
# X11 base safeness
@${REINPLACE_CMD} -E -e 's,cc,${CC} ${CFLAGS} -I${X11BASE}/include,; \
s,^(LinkLine).*$$,\1="${CC}",; \
s,/usr/X11R6,${X11BASE},' \
${WRKSRC}/tool/bash/build
do-build:
@cd ${WRKSRC}/tool/bash && ${SH} build
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/minivmac
@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/minivmac
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>