# Created by: Pedro F. Giffuni # $FreeBSD: head/devel/jwasm/Makefile 566236 2021-02-21 18:18:11Z ak $ PORTNAME= jwasm PORTVERSION= 2.14 PORTEPOCH= 1 CATEGORIES= devel MAINTAINER= ak@FreeBSD.org COMMENT= Fork of OpenWatcom x86 assembler with AMD64 support LICENSE= OpenWatcom LICENSE_NAME= Sybase Open Watcom Public License version 1.0 LICENSE_FILE= ${WRKSRC}/Html/License.html LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= alias dos2unix gmake USE_GITHUB= yes GH_ACCOUNT= Baron-von-Riedesel GH_PROJECT= JWasm GH_TAGNAME= f0a2fdd OPTIONS_DEFINE= DOCS MAKEFILE= GccUnix.mak PORTDOCS= Readme.html Manual.html PLIST_FILES= bin/jwasm MAKE_JOBS_UNSAFE= yes post-patch: @${REINPLACE_CMD} -e \ '/^extra_c_flags/s|-O2|$$(CFLAGS)| ; \ /^CC/s| =| ?=| ; \ s|-s -o|-o|' ${WRKSRC}/GccUnix.mak do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/GccUnixR/jwasm ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/Html/,} ${STAGEDIR}${DOCSDIR} .include