mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Stagify
Reviewed by: flo (mentor) Approved by: flo (mentor)
This commit is contained in:
parent
f26899ecee
commit
9a6bd32c1f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356240
@ -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>
|
||||
|
@ -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 =
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user