Date: Tue, 26 Jun 2012 02:45:11 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169406: devel/asmx: Update MASTER_SITES Message-ID: <20120626024511.bcf17a9b.tkato432@yahoo.com> Resent-Message-ID: <201206251810.q5PIA7kT073781@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169406 >Category: ports >Synopsis: devel/asmx: Update MASTER_SITES >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 25 18:10:07 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p9 i386 >Organization: >Environment: >Description: - Update MASTER_SITES - Support NO_WRKSUBDIR properly - Support CFLAGS properly Remove file: files/Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/asmx/Makefile devel/asmx/Makefile --- /usr/ports/devel/asmx/Makefile 2012-06-12 15:44:14.000000000 +0900 +++ devel/asmx/Makefile 2012-06-25 22:53:34.000000000 +0900 @@ -7,19 +7,13 @@ PORTNAME= asmx PORTVERSION= 1.8.2 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= http://xi6.com/files/ \ - http://distfiles.arcadebsd.org/ +MASTER_SITES= http://xi6.com/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Multi-CPU macro assembler for many major 8-bit and 16-bit CPUs -WRKSRC= ${WRKDIR} -USE_ZIP= yes -ALL_TARGET= - -PORTDOCS= README.txt - OPTIONS_DEFINE= 1802 6502 6809 68HC11 68HC16 8051 8085 F8 Z80 DOCS OPTIONS_DEFAULT= 1802 6502 6809 68HC11 68HC16 8051 8085 F8 Z80 @@ -34,6 +28,12 @@ F8_DESC= Fairchild F8 Z80_DESC= Zilog Z-80 and Nintendo Gameboy Z-80 variant +NO_WRKSUBDIR= yes + +USE_ZIP= yes + +PORTDOCS= README.txt + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:M1802} @@ -86,15 +86,17 @@ PLIST_FILES+= bin/asmx-z80 .endif -post-extract: - ${CP} ${FILESDIR}/Makefile ${WRKSRC} +post-patch: + @${ECHO_CMD} >> ${WRKSRC}/asmguts.h -pre-build: - ${ECHO_CMD} ALL_TARGET=${ALL_TARGET} +do-build: +.for f in ${ALL_TARGET} + (cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} ${f:S/asmx-/asm/}.c -o ${f}) +.endfor do-install: .for f in ${ALL_TARGET} - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin .endfor .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} diff -urN /usr/ports/devel/asmx/files/Makefile devel/asmx/files/Makefile --- /usr/ports/devel/asmx/files/Makefile 2008-10-29 06:22:30.000000000 +0900 +++ devel/asmx/files/Makefile 1970-01-01 09:00:00.000000000 +0900 @@ -1,34 +0,0 @@ -# $FreeBSD: ports/devel/asmx/files/Makefile,v 1.1 2008/10/28 21:22:30 amdmi3 Exp $ - -all: - @echo "You have to select an options" - -asmx-1802: - ${CC} asm1802.c -o asmx-1802 - -asmx-6502: - ${CC} asm6502.c -o asmx-6502 - -asmx-6809: - ${CC} asm6809.c -o asmx-6809 - -asmx-68hc11: - ${CC} asm68hc11.c -o asmx-68hc11 - -asmx-68hc16: - ${CC} asm68hc16.c -o asmx-68hc16 - -asmx-68k: - ${CC} asm68k.c -o asmx-68k - -asmx-8051: - ${CC} asm8051.c -o asmx-8051 - -asmx-8085: - ${CC} asm8085.c -o asmx-8085 - -asmx-f8: - ${CC} asmf8.c -o asmx-f8 - -asmx-z80: - ${CC} asmz80.c -o asmx-z80 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120626024511.bcf17a9b.tkato432>