Date: Thu, 31 Dec 2015 10:58:14 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404928 - head/lang/cparser Message-ID: <201512311058.tBVAwEuo066491@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Dec 31 10:58:14 2015 New Revision: 404928 URL: https://svnweb.freebsd.org/changeset/ports/404928 Log: - Clarify LICENSE - Add LICENSE_FILE - Switch to options helpers Modified: head/lang/cparser/Makefile Modified: head/lang/cparser/Makefile ============================================================================== --- head/lang/cparser/Makefile Thu Dec 31 10:58:14 2015 (r404927) +++ head/lang/cparser/Makefile Thu Dec 31 10:58:14 2015 (r404928) @@ -9,11 +9,12 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= C99 compiler using libFIRM as backend -LICENSE= GPLv2 +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfirm.so:${PORTSDIR}/devel/libfirm -USES= pkgconfig gmake tar:bzip2 +USES= gmake pkgconfig tar:bzip2 PLIST_FILES= bin/cparser \ man/man1/cparser.1.gz @@ -22,15 +23,11 @@ BUILDDIR= optimize OPTIONS_DEFINE= DEBUG -.include <bsd.port.options.mk> +DEBUG_VARS= BUILDDIR=debug -.if ${PORT_OPTIONS:MDEBUG} -BUILDDIR= debug -.else -post-patch: +post-patch-DEBUG-off: @${REINPLACE_CMD} -e 's/^variant ?= debug/variant ?= optimize/' \ ${WRKSRC}/Makefile -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/${BUILDDIR}/cparser ${STAGEDIR}${PREFIX}/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512311058.tBVAwEuo066491>