svn commit: r356240 - in head/emulators/o2em: . files
Michael Gmelin
grembo at FreeBSD.org
Mon Jun 2 17:28:17 UTC 2014
Author: grembo
Date: Mon Jun 2 17:28:16 2014
New Revision: 356240
URL: http://svnweb.freebsd.org/changeset/ports/356240
QAT: https://qat.redports.org/buildarchive/r356240/
Log:
Stagify
Reviewed by: flo (mentor)
Approved by: flo (mentor)
Modified:
head/emulators/o2em/Makefile
head/emulators/o2em/files/patch-Makefile.debug
head/emulators/o2em/files/patch-Makefile.freebsd
Modified: head/emulators/o2em/Makefile
==============================================================================
--- head/emulators/o2em/Makefile Mon Jun 2 17:26:45 2014 (r356239)
+++ head/emulators/o2em/Makefile Mon Jun 2 17:28:16 2014 (r356240)
@@ -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>
Modified: head/emulators/o2em/files/patch-Makefile.debug
==============================================================================
--- head/emulators/o2em/files/patch-Makefile.debug Mon Jun 2 17:26:45 2014 (r356239)
+++ head/emulators/o2em/files/patch-Makefile.debug Mon Jun 2 17:28:16 2014 (r356240)
@@ -2,7 +2,7 @@ diff -urN ../o2em117src.old/Makefile.deb
--- ../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 =
Modified: head/emulators/o2em/files/patch-Makefile.freebsd
==============================================================================
--- head/emulators/o2em/files/patch-Makefile.freebsd Mon Jun 2 17:26:45 2014 (r356239)
+++ head/emulators/o2em/files/patch-Makefile.freebsd Mon Jun 2 17:28:16 2014 (r356240)
@@ -2,7 +2,7 @@ diff -urN ../o2em117src.old/Makefile.fre
--- ../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}
More information about the svn-ports-all
mailing list