Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2013 16:32:32 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337199 - in head: devel/z80ex devel/z80ex/files emulators/kcemu
Message-ID:  <201312221632.rBMGWWa6030899@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312221632.rBMGWWa6030899>