aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-06 21:50:42 +0800
committerrafan <rafan@FreeBSD.org>2006-12-06 21:50:42 +0800
commite4e4e42a0fe07cbeac509b5352fb6d4663054624 (patch)
tree5ad22118f7a5c6cd7a2649b1639ebde27d8d5abb /emulators
parent44f0b2a264c23d2cc8756439017f61c52374eae2 (diff)
downloadfreebsd-ports-gnome-e4e4e42a0fe07cbeac509b5352fb6d4663054624.tar.gz
freebsd-ports-gnome-e4e4e42a0fe07cbeac509b5352fb6d4663054624.tar.zst
freebsd-ports-gnome-e4e4e42a0fe07cbeac509b5352fb6d4663054624.zip
- Respect X11BASE
- Respect PORTDOCS PR: ports/106073 Submitted by: rafan Approved by: portmgr (linimon)
Diffstat (limited to 'emulators')
-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%%