Bug 185082 - [UPDATE] devel/z80ex to v1.1.21
Summary: [UPDATE] devel/z80ex to v1.1.21
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-22 10:30 UTC by hardy.schumacher
Modified: 2013-12-22 16:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.61 KB, patch)
2013-12-22 10:30 UTC, hardy.schumacher
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hardy.schumacher 2013-12-22 10:30:00 UTC
Update for port devel/z80ex to v1.1.21 is available. It contains bugfixes and improvements.
Furthermore I've added LICENSE information to port.

Fix: Patch attached with submission follows:
How-To-Repeat: n/a
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-22 10:30:08 UTC
Class Changed
From-To: update->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-12-22 15:58:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-12-22 16:32:40 UTC
Author: danilo
Date: Sun Dec 22 16:32:32 2013
New Revision: 337199
URL: http://svnweb.freebsd.org/changeset/ports/337199

Log:
  - 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)

Added:
  head/devel/z80ex/files/
  head/devel/z80ex/files/patch-Makefile   (contents, props changed)
Modified:
  head/devel/z80ex/Makefile
  head/devel/z80ex/distinfo
  head/devel/z80ex/pkg-plist
  head/emulators/kcemu/Makefile

Modified: head/devel/z80ex/Makefile
==============================================================================
--- head/devel/z80ex/Makefile	Sun Dec 22 16:25:58 2013	(r337198)
+++ head/devel/z80ex/Makefile	Sun Dec 22 16:32:32 2013	(r337199)
@@ -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>

Modified: head/devel/z80ex/distinfo
==============================================================================
--- head/devel/z80ex/distinfo	Sun Dec 22 16:25:58 2013	(r337198)
+++ head/devel/z80ex/distinfo	Sun Dec 22 16:32:32 2013	(r337199)
@@ -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

Added: head/devel/z80ex/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/z80ex/files/patch-Makefile	Sun Dec 22 16:32:32 2013	(r337199)
@@ -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

Modified: head/devel/z80ex/pkg-plist
==============================================================================
--- head/devel/z80ex/pkg-plist	Sun Dec 22 16:25:58 2013	(r337198)
+++ head/devel/z80ex/pkg-plist	Sun Dec 22 16:32:32 2013	(r337199)
@@ -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

Modified: head/emulators/kcemu/Makefile
==============================================================================
--- head/emulators/kcemu/Makefile	Sun Dec 22 16:25:58 2013	(r337198)
+++ head/emulators/kcemu/Makefile	Sun Dec 22 16:32:32 2013	(r337199)
@@ -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}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-12-22 16:33:19 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!