Date: Thu, 19 Jul 2012 17:24:52 +0000 (UTC) From: Armin Pirkovitsch <sperber@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r301161 - in head/devel/asmx: . files Message-ID: <201207191724.q6JHOqib002344@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sperber Date: Thu Jul 19 17:24:52 2012 New Revision: 301161 URL: http://svn.freebsd.org/changeset/ports/301161 Log: - Update MASTER_SITES - Support NO_WRKSUBDIR properly - Support CFLAGS properly PR: ports/169406 Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com> Approved by: beat (mentor) Deleted: head/devel/asmx/files/ Modified: head/devel/asmx/Makefile (contents, props changed) Modified: head/devel/asmx/Makefile ============================================================================== --- head/devel/asmx/Makefile Thu Jul 19 17:23:59 2012 (r301160) +++ head/devel/asmx/Makefile Thu Jul 19 17:24:52 2012 (r301161) @@ -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 @@ OPTIONS_DEFAULT= 1802 6502 6809 68HC11 6 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 @@ ALL_TARGET+= asmx-z80 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207191724.q6JHOqib002344>