diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2006-06-23 18:09:30 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2006-06-23 18:09:30 +0000 |
commit | 0005f1cfb9dc1aa6ce6d1ce733c1aa740b2e0e47 (patch) | |
tree | aa3daa92fea337b2676b1e4f9974934df65c3683 /emulators/minivmac | |
parent | 79b7070b3da2da6f62f1fb1c82fc5b36b0df210b (diff) | |
download | ports-0005f1cfb9dc1aa6ce6d1ce733c1aa740b2e0e47.tar.gz ports-0005f1cfb9dc1aa6ce6d1ce733c1aa740b2e0e47.zip |
Notes
Diffstat (limited to 'emulators/minivmac')
-rw-r--r-- | emulators/minivmac/Makefile | 38 | ||||
-rw-r--r-- | emulators/minivmac/distinfo | 6 | ||||
-rw-r--r-- | emulators/minivmac/pkg-plist | 11 |
3 files changed, 23 insertions, 32 deletions
diff --git a/emulators/minivmac/Makefile b/emulators/minivmac/Makefile index 51e6b84cd419..3340e246579d 100644 --- a/emulators/minivmac/Makefile +++ b/emulators/minivmac/Makefile @@ -6,37 +6,39 @@ # PORTNAME= minivmac -PORTVERSION= 0.1.7 +PORTVERSION= 2.7.1 CATEGORIES= emulators -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/minivmac/} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION}.src EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A miniature Macintosh emulator +BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash + +WRKSRC= ${WRKDIR}/source + USE_XLIB= yes -WRKSRC= ${WRKDIR}/${PORTNAME} +USE_GMAKE= yes +CFLAGS+= -I${X11BASE}/include + +PLIST_FILES= bin/minivmac 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 + @${REINPLACE_CMD} -e 's|my_cc=gcc|my_cc=${CC}|g ; \ + s|-Wno-unused-function||g ; \ + s|my_make=make|my_make=${GMAKE}|g' ${WRKSRC}/build/bash + @${REINPLACE_CMD} -e 's|-Os|${CFLAGS}|g ; \ + s|/usr/X11R6/|${X11BASE}/|g ; \ + s|gcc|${CC}|g' ${WRKSRC}/build/setup.c do-build: - @cd ${WRKSRC}/tool/bash && ${SH} build + @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build/bash 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} + ${INSTALL_PROGRAM} ${WRKSRC}/output/minivmac ${PREFIX}/bin + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/emulators/minivmac/distinfo b/emulators/minivmac/distinfo index d102b3953901..60939cd2128f 100644 --- a/emulators/minivmac/distinfo +++ b/emulators/minivmac/distinfo @@ -1,3 +1,3 @@ -MD5 (minivmac-0.1.7.src.tgz) = d2116ea5243389e191f48f75572f8532 -SHA256 (minivmac-0.1.7.src.tgz) = f1d02707fbe2057d40247683ccf5267f8a57c58aaa4253c0eaf04026c5dc0e5a -SIZE (minivmac-0.1.7.src.tgz) = 93155 +MD5 (minivmac-2.7.1.src.tgz) = b465920e9a60aa148b5ab97abd1a3cdf +SHA256 (minivmac-2.7.1.src.tgz) = d72d9fe0c7296f0f30ca37955cb6b3e689e8c5e6b4b983738a303eb1826072b2 +SIZE (minivmac-2.7.1.src.tgz) = 190858 diff --git a/emulators/minivmac/pkg-plist b/emulators/minivmac/pkg-plist deleted file mode 100644 index a76396b9e1ae..000000000000 --- a/emulators/minivmac/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -bin/minivmac -%%PORTDOCS%%share/doc/minivmac/about.html -%%PORTDOCS%%share/doc/minivmac/autoquit.html -%%PORTDOCS%%share/doc/minivmac/build.html -%%PORTDOCS%%share/doc/minivmac/contents.html -%%PORTDOCS%%share/doc/minivmac/credits.html -%%PORTDOCS%%share/doc/minivmac/default.html -%%PORTDOCS%%share/doc/minivmac/license.html -%%PORTDOCS%%share/doc/minivmac/manual.html -%%PORTDOCS%%share/doc/minivmac/todo.html -%%PORTDOCS%%@dirrm share/doc/minivmac |