From owner-svn-ports-head@freebsd.org Wed Feb 6 10:27:00 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA3BC14CE440; Wed, 6 Feb 2019 10:26:59 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D81F8E71F; Wed, 6 Feb 2019 10:26:58 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0AE584212; Wed, 6 Feb 2019 10:26:58 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x16AQvLW062047; Wed, 6 Feb 2019 10:26:57 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x16AQvZA062046; Wed, 6 Feb 2019 10:26:57 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201902061026.x16AQvZA062046@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Wed, 6 Feb 2019 10:26:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492298 - head/graphics/bmp2html X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/graphics/bmp2html X-SVN-Commit-Revision: 492298 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8D81F8E71F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 10:27:00 -0000 Author: ehaupt Date: Wed Feb 6 10:26:57 2019 New Revision: 492298 URL: https://svnweb.freebsd.org/changeset/ports/492298 Log: - Add LICENSE - Take compile/link flags from sdl_config, instead of hardcoding them, simplify the port - Remove bundled binary earlier, in post-extract PR: 235525 Submitted by: amdmi3 Modified: head/graphics/bmp2html/Makefile Modified: head/graphics/bmp2html/Makefile ============================================================================== --- head/graphics/bmp2html/Makefile Wed Feb 6 10:03:01 2019 (r492297) +++ head/graphics/bmp2html/Makefile Wed Feb 6 10:26:57 2019 (r492298) @@ -11,22 +11,19 @@ DISTNAME= ${PORTNAME} MAINTAINER= ehaupt@FreeBSD.org COMMENT= BMP to HTML converter +LICENSE= PD + USE_SDL= sdl -LDFLAGS+= -L${LOCALBASE}/lib -SDL_FLAGS= -I${LOCALBASE}/include/SDL -I${LOCALBASE}/include -EXTRA_LDFLAGS= -lSDL -pthread -DEFINES= -D_REENTRANT - PLIST_FILES= bin/bmp2html -post-patch: +post-extract: @${RM} ${WRKSRC}/${PORTNAME} do-build: - ${CC} ${CFLAGS} ${LDFLAGS} ${SDL_FLAGS} ${DEFINES} -c \ + ${CC} ${CFLAGS} `${SDL_CONFIG} --cflags` -c \ -o ${WRKSRC}/${PORTNAME}.o ${WRKSRC}/${PORTNAME}.c - ${CC} ${CFLAGS} ${LDFLAGS} ${SDL_FLAGS} ${EXTRA_LDFLAGS} \ + ${CC} ${LDFLAGS} `${SDL_CONFIG} --libs` \ -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.o do-install: