aboutsummaryrefslogtreecommitdiffstats
path: root/devel/z80ex
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-12-23 00:32:32 +0800
committerdanilo <danilo@FreeBSD.org>2013-12-23 00:32:32 +0800
commit48294bbc60b4b93eeaaa9e5f82b296f49672939f (patch)
treeb5a56e7d4c14f55dd559ccf9778ca7f67a850980 /devel/z80ex
parent3f88b6f8d7890324a824ed530bceed5b40321476 (diff)
downloadfreebsd-ports-gnome-48294bbc60b4b93eeaaa9e5f82b296f49672939f.tar.gz
freebsd-ports-gnome-48294bbc60b4b93eeaaa9e5f82b296f49672939f.tar.zst
freebsd-ports-gnome-48294bbc60b4b93eeaaa9e5f82b296f49672939f.zip
- 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)
Diffstat (limited to 'devel/z80ex')
-rw-r--r--devel/z80ex/Makefile16
-rw-r--r--devel/z80ex/distinfo4
-rw-r--r--devel/z80ex/files/patch-Makefile48
-rw-r--r--devel/z80ex/pkg-plist4
4 files changed, 58 insertions, 14 deletions
diff --git a/devel/z80ex/Makefile b/devel/z80ex/Makefile
index 18d8e4e1290f..4ac8e7fb5272 100644
--- a/devel/z80ex/Makefile
+++ b/devel/z80ex/Makefile
@@ -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
-USE_LDCONFIG= yes
+LICENSE= GPLv2
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's/$$(TOOLS_PREFIX)gcc/$${CC}/' \
- -e 's/$$(TOOLS_PREFIX)ar/$${AR}/' \
- -e 's/-O2//' ${WRKSRC}/Makefile
+USES= dos2unix gmake
+DOS2UNIX_FILES= Makefile
+USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/devel/z80ex/distinfo b/devel/z80ex/distinfo
index a53378b65563..40ed24cdbf1a 100644
--- a/devel/z80ex/distinfo
+++ b/devel/z80ex/distinfo
@@ -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
diff --git a/devel/z80ex/files/patch-Makefile b/devel/z80ex/files/patch-Makefile
new file mode 100644
index 000000000000..987e22e1839c
--- /dev/null
+++ b/devel/z80ex/files/patch-Makefile
@@ -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
diff --git a/devel/z80ex/pkg-plist b/devel/z80ex/pkg-plist
index d0e89cdf62b0..e63d5cfe9f57 100644
--- a/devel/z80ex/pkg-plist
+++ b/devel/z80ex/pkg-plist
@@ -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