aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrembo <grembo@FreeBSD.org>2014-06-03 01:28:16 +0800
committergrembo <grembo@FreeBSD.org>2014-06-03 01:28:16 +0800
commit3ccdc56ec5e0141d0f21bb6364741a35fe9dff63 (patch)
tree6b6a023c1ef8881f9ee1feeedd272db99549fd28
parentb5903ca520d06f224573ee4f0a085944ad318f1d (diff)
downloadfreebsd-ports-graphics-3ccdc56ec5e0141d0f21bb6364741a35fe9dff63.tar.gz
freebsd-ports-graphics-3ccdc56ec5e0141d0f21bb6364741a35fe9dff63.tar.zst
freebsd-ports-graphics-3ccdc56ec5e0141d0f21bb6364741a35fe9dff63.zip
Stagify
Reviewed by: flo (mentor) Approved by: flo (mentor)
-rw-r--r--emulators/o2em/Makefile26
-rw-r--r--emulators/o2em/files/patch-Makefile.debug2
-rw-r--r--emulators/o2em/files/patch-Makefile.freebsd2
3 files changed, 14 insertions, 16 deletions
diff --git a/emulators/o2em/Makefile b/emulators/o2em/Makefile
index 2426d7dc074..0e39affcb31 100644
--- a/emulators/o2em/Makefile
+++ b/emulators/o2em/Makefile
@@ -20,28 +20,26 @@ MAKEFILE= Makefile.freebsd
USES= gmake zip
LDFLAGS+= ${PTHREAD_LIBS}
-NO_STAGE= yes
post-extract:
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|h|txt)" -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/o2em ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/src/dis48 ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/${PORTNAME}
- @${MKDIR} ${PREFIX}/${PORTNAME}/bios
- ${INSTALL_DATA} ${WRKSRC}/O2ROM.BIN ${PREFIX}/${PORTNAME}/bios/o2rom.bin
- @${MKDIR} ${PREFIX}/${PORTNAME}/voice
- ${INSTALL_DATA} ${WRKDIR}/*.WAV ${PREFIX}/${PORTNAME}/voice/
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/o2em ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/dis48 ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bios
+ ${INSTALL_DATA} ${WRKSRC}/O2ROM.BIN ${STAGEDIR}${PREFIX}/${PORTNAME}/bios/o2rom.bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/voice
+ ${INSTALL_DATA} ${WRKDIR}/*.WAV ${STAGEDIR}${PREFIX}/${PORTNAME}/voice/
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/O2EM.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/changelog.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/license.txt ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/O2EM.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/changelog.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/license.txt ${STAGEDIR}${DOCSDIR}
.endif
post-install:
- ${MKDIR} ${PREFIX}/o2em/roms
- @${CAT} ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/o2em/roms
.include <bsd.port.mk>
diff --git a/emulators/o2em/files/patch-Makefile.debug b/emulators/o2em/files/patch-Makefile.debug
index 807fcf029e9..4c3467d7182 100644
--- a/emulators/o2em/files/patch-Makefile.debug
+++ b/emulators/o2em/files/patch-Makefile.debug
@@ -2,7 +2,7 @@ diff -urN ../o2em117src.old/Makefile.debug ./Makefile.debug
--- ../o2em117src.old/Makefile.debug Wed Dec 31 18:00:00 1969
+++ ./Makefile.debug Fri Jun 24 16:05:27 2005
@@ -0,0 +1,64 @@
-+CC = gcc
++
+
+CFLAGS = -g -Wall -I${PREFIX}/include -DFREEBSD -DPREFIX=\"${PREFIX}\"
+LFLAGS =
diff --git a/emulators/o2em/files/patch-Makefile.freebsd b/emulators/o2em/files/patch-Makefile.freebsd
index d6f0913a5c2..0460ed4d75c 100644
--- a/emulators/o2em/files/patch-Makefile.freebsd
+++ b/emulators/o2em/files/patch-Makefile.freebsd
@@ -2,7 +2,7 @@ diff -urN ../o2em117src.old/Makefile.freebsd ./Makefile.freebsd
--- ../o2em117src.old/Makefile.freebsd Wed Dec 31 18:00:00 1969
+++ ./Makefile.freebsd Fri Jun 24 16:05:40 2005
@@ -0,0 +1,65 @@
-+CC = gcc
++
+
+CFLAGS = -O3 -Wall -fomit-frame-pointer -I${PREFIX}/include -DFREEBSD -DPREFIX=\"${PREFIX}\"
+LFLAGS = -s ${LDFLAGS}