[BACK]Return to ggz-client.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / ggz-client-libs

File: [cvs.NetBSD.org] / pkgsrc / games / ggz-client-libs / ggz-client.mk (download)

Revision 1.2, Sun Jan 14 17:33:59 2018 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, HEAD
Changes since 1.1: +3 -3 lines

games/*: fix alignment of variable values

pkglint -Wall -r --autofix --only aligned

After running the above command, three packages had to be adjusted

In maelstrom-x11, pkglint didn't see that a commented variable
assignment should have been re-aligned as well.

In netmaze, there was a single line that didn't align well with all the
others, but pkglint decided to adjust the whole paragraph to this single
line. The result would have been ok, but not good.

In tscp, there was a paragraph where some of the lines were indented
one space more than the others. This rule is useful when one variable
name is very long compared to the others, but not in this case.

# $NetBSD: ggz-client.mk,v 1.2 2018/01/14 17:33:59 rillig Exp $

REALGGZCONFIG=	${PREFIX}/bin/ggz-config

CONFIGURE_ARGS+=	--with-ggzconfig=${WRAPPER_DIR}/bin

pre-configure: ${WRAPPER_DIR}/bin/ggz-config

	${PRINTF} "#! ${SH}\\n\
	  case \$$1 in\\n\
	  --configdir|--gamedir|--datadir) ${REALGGZCONFIG} \$$1;;\\n\
	  *) exit 0;;\\n\
	" > ${.TARGET}
	${CHMOD} +x ${.TARGET}