mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
- Update from 1.1.20.1 to 1.1.21
- Add LICENSE while here - Add stage support - Convert USE_GMAKE to USES PR: ports/185082 Submitted by: Hardy Schumacher <hardy.schumacher@gmx.de> (maintainer)
This commit is contained in:
parent
ccb3a11c4c
commit
f0b62b31e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337199
@ -2,21 +2,17 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= z80ex
|
||||
PORTVERSION= 1.1.20.1
|
||||
PORTVERSION= 1.1.21
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/1.1.20rev1
|
||||
DISTNAME= ${PORTNAME}-1.1.20rev1
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
|
||||
|
||||
MAINTAINER= hardy.schumacher@gmx.de
|
||||
COMMENT= ZiLOG Z80 CPU emulator library
|
||||
|
||||
USE_GMAKE= yes
|
||||
LICENSE= GPLv2
|
||||
|
||||
USES= dos2unix gmake
|
||||
DOS2UNIX_FILES= Makefile
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/$$(TOOLS_PREFIX)gcc/$${CC}/' \
|
||||
-e 's/$$(TOOLS_PREFIX)ar/$${AR}/' \
|
||||
-e 's/-O2//' ${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (z80ex-1.1.20rev1.tar.gz) = be766a27beda1b78ae3a21e335ea1f8135043608b66c5570b2f345356a5e7f53
|
||||
SIZE (z80ex-1.1.20rev1.tar.gz) = 65745
|
||||
SHA256 (z80ex-1.1.21.tar.gz) = 6f5e521d068a614b41e10180ad4ae45b1bc258ec28c962543feb9078856c2530
|
||||
SIZE (z80ex-1.1.21.tar.gz) = 64313
|
||||
|
48
devel/z80ex/files/patch-Makefile
Normal file
48
devel/z80ex/files/patch-Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
--- ./Makefile.orig 2013-12-22 14:18:02.000000000 -0200
|
||||
+++ ./Makefile 2013-12-22 14:18:22.000000000 -0200
|
||||
@@ -5,12 +5,12 @@
|
||||
#################################################################
|
||||
# You may tune these values to fit your setup:
|
||||
#################################################################
|
||||
-INSTALL_PREFIX := /usr/local
|
||||
+INSTALL_PREFIX := ${PREFIX}
|
||||
TOOLS_PREFIX :=
|
||||
|
||||
-CC := $(TOOLS_PREFIX)gcc
|
||||
-LINKER := $(TOOLS_PREFIX)gcc
|
||||
-AR := $(TOOLS_PREFIX)ar
|
||||
+CC := ${CC}
|
||||
+LINKER := ${CC}
|
||||
+AR := ${AR}
|
||||
|
||||
ALL_CFLAGS := -fPIC -fno-common -ansi -pedantic -Wall -pipe -O2 -I. -I./include
|
||||
|
||||
@@ -75,20 +75,20 @@
|
||||
endif
|
||||
|
||||
install:
|
||||
- install -d ${INSTALL_PREFIX}/lib
|
||||
- install ./lib/* ${INSTALL_PREFIX}/lib
|
||||
- install -d ${INSTALL_PREFIX}/include/z80ex
|
||||
- install -m 0664 ./include/* ${INSTALL_PREFIX}/include/z80ex
|
||||
+ install -d ${DESTDIR}${INSTALL_PREFIX}/lib
|
||||
+ install -s ./lib/* ${DESTDIR}${INSTALL_PREFIX}/lib
|
||||
+ install -d ${DESTDIR}${INSTALL_PREFIX}/include/z80ex
|
||||
+ install -m 0664 ./include/* ${DESTDIR}${INSTALL_PREFIX}/include/z80ex
|
||||
ifeq (${OS},Darwin)
|
||||
ln -sf ${EMU}.${VERSION_STR}.dylib ${INSTALL_PREFIX}/lib/${EMU}.${API_REVISION}.dylib
|
||||
ln -sf ${EMU}.${VERSION_STR}.dylib ${INSTALL_PREFIX}/lib/${EMU}.dylib
|
||||
ln -sf ${DASM}.${VERSION_STR}.dylib ${INSTALL_PREFIX}/lib/${DASM}.${API_REVISION}.dylib
|
||||
ln -sf ${DASM}.${VERSION_STR}.dylib ${INSTALL_PREFIX}/lib/${DASM}.dylib
|
||||
else
|
||||
- ln -sf ${EMU}.so.${VERSION_STR} ${INSTALL_PREFIX}/lib/${EMU}.so.${API_REVISION}
|
||||
- ln -sf ${EMU}.so.${VERSION_STR} ${INSTALL_PREFIX}/lib/${EMU}.so
|
||||
- ln -sf ${DASM}.so.${VERSION_STR} ${INSTALL_PREFIX}/lib/${DASM}.so.${API_REVISION}
|
||||
- ln -sf ${DASM}.so.${VERSION_STR} ${INSTALL_PREFIX}/lib/${DASM}.so
|
||||
+ ln -sf ${EMU}.so.${VERSION_STR} ${DESTDIR}${INSTALL_PREFIX}/lib/${EMU}.so.${API_REVISION}
|
||||
+ ln -sf ${EMU}.so.${VERSION_STR} ${DESTDIR}${INSTALL_PREFIX}/lib/${EMU}.so
|
||||
+ ln -sf ${DASM}.so.${VERSION_STR} ${DESTDIR}${INSTALL_PREFIX}/lib/${DASM}.so.${API_REVISION}
|
||||
+ ln -sf ${DASM}.so.${VERSION_STR} ${DESTDIR}${INSTALL_PREFIX}/lib/${DASM}.so
|
||||
endif
|
||||
|
||||
dist: clean
|
@ -6,7 +6,7 @@ lib/libz80ex.so.1
|
||||
lib/libz80ex_dasm.a
|
||||
lib/libz80ex_dasm.so.1
|
||||
lib/libz80ex.so
|
||||
lib/libz80ex.so.1.1.20rev1
|
||||
lib/libz80ex.so.1.1.21
|
||||
lib/libz80ex_dasm.so
|
||||
lib/libz80ex_dasm.so.1.1.20rev1
|
||||
lib/libz80ex_dasm.so.1.1.21
|
||||
@dirrm include/z80ex
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= kcemu
|
||||
PORTVERSION= 0.5.1
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= SF/${PORTNAME}/KCemu/KCemu-${PORTVERSION}
|
||||
DISTNAME= KCemu-${PORTVERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user