aboutsummaryrefslogtreecommitdiff
path: root/emulators/vMac
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-12-06 13:50:42 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-12-06 13:50:42 +0000
commit9af66f1cb7c5f982b7a43099be0c9e8881d46596 (patch)
tree18d5f78e51e74f165ab4df92f4371ba2c711cc59 /emulators/vMac
parent8f84e7e59a63a1819cceec82df1f91d42dcb3092 (diff)
downloadports-9af66f1cb7c5f982b7a43099be0c9e8881d46596.tar.gz
ports-9af66f1cb7c5f982b7a43099be0c9e8881d46596.zip
Notes
Diffstat (limited to 'emulators/vMac')
-rw-r--r--emulators/vMac/Makefile19
-rw-r--r--emulators/vMac/files/patch-aa4
-rw-r--r--emulators/vMac/pkg-plist12
3 files changed, 18 insertions, 17 deletions
diff --git a/emulators/vMac/Makefile b/emulators/vMac/Makefile
index ed55898692ed..c406e006b510 100644
--- a/emulators/vMac/Makefile
+++ b/emulators/vMac/Makefile
@@ -16,30 +16,31 @@ EXTRACT_SUFX= .tgz
MAINTAINER= troll@digitalspark.net
COMMENT= Emulates a MacPlus machine! Runs MacOS versions up to 7.5.5
-MAKEFILE= Makefile
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
USE_XLIB= yes
pre-patch:
- (cd ${WRKSRC} && sh ${FILESDIR}/dos2unx gemulator.c)
+ (cd ${WRKSRC} && ${SH} ${FILESDIR}/dos2unx gemulator.c)
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/vMac \
${PREFIX}/bin
@${STRIP_CMD} ${PREFIX}/bin/vMac
- @ ${MKDIR} ${PREFIX}/share/doc/vMac
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS \
- ${PREFIX}/share/doc/vMac
+ ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL \
- ${PREFIX}/share/doc/vMac
+ ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE \
- ${PREFIX}/share/doc/vMac
+ ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README \
- ${PREFIX}/share/doc/vMac
+ ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rom \
- ${PREFIX}/share/doc/vMac
+ ${DOCSDIR}
+.endif
@${CAT} ${PKGMESSAGE} | ${SED} -e s:/usr/local:${PREFIX}:
.include <bsd.port.mk>
diff --git a/emulators/vMac/files/patch-aa b/emulators/vMac/files/patch-aa
index 7f6ebfbf83b4..e70f71adeb93 100644
--- a/emulators/vMac/files/patch-aa
+++ b/emulators/vMac/files/patch-aa
@@ -44,7 +44,7 @@ diff -ruN ../vMac-0.1.9.3.old/Makefile.in ./Makefile.in
.SUFFIXES: .o .c .h .m .i .S
-INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes -I$(X_CFLAGS) -I/usr/local/include -I.
-+INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes -I$(X_CFLAGS) -I/usr/local/include -I. -I/usr/X11R6/include/
++INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes $(X_CFLAGS) -I/usr/local/include -I.
OBJS = custom.o main.o prefs.o debug.o gemulator.o \
$(GFXOBJS)
@@ -142,7 +142,7 @@ diff -ruN ../vMac-0.1.9.3.old/freebsd.patch ./freebsd.patch
+ .SUFFIXES: .o .c .h .m .i .S
+
+-INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes -I$(X_CFLAGS) -I/usr/local/include -I.
-++INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes -I$(X_CFLAGS) -I/usr/local/include -I. -I/usr/X11R6/include/
+++INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes $(X_CFLAGS) -I/usr/local/include -I.
+
+ OBJS = custom.o main.o prefs.o debug.o gemulator.o \
+ $(GFXOBJS)
diff --git a/emulators/vMac/pkg-plist b/emulators/vMac/pkg-plist
index 7bef3c949910..ba61fc05c5d1 100644
--- a/emulators/vMac/pkg-plist
+++ b/emulators/vMac/pkg-plist
@@ -1,7 +1,7 @@
bin/vMac
-share/doc/vMac/CREDITS
-share/doc/vMac/INSTALL
-share/doc/vMac/LICENSE
-share/doc/vMac/README
-share/doc/vMac/README.rom
-@dirrm share/doc/vMac
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.rom
+%%PORTDOCS%%@dirrm %%DOCSDIR%%