diff options
-rw-r--r-- | devel/z80ex/Makefile | 16 | ||||
-rw-r--r-- | devel/z80ex/distinfo | 4 | ||||
-rw-r--r-- | devel/z80ex/files/patch-Makefile | 48 | ||||
-rw-r--r-- | devel/z80ex/pkg-plist | 4 | ||||
-rw-r--r-- | emulators/kcemu/Makefile | 2 |
5 files changed, 59 insertions, 15 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 diff --git a/emulators/kcemu/Makefile b/emulators/kcemu/Makefile index cba2411c324c..a59d9ab0b923 100644 --- a/emulators/kcemu/Makefile +++ b/emulators/kcemu/Makefile @@ -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} |