summaryrefslogtreecommitdiff
path: root/sysutils/bdfresize/Makefile
blob: 16fa167b2816254fdf0eb9f934b4bf3d4b7766f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.1 2019/08/14 17:21:06 fcambus Exp $

DISTNAME=	bdfresize-1.5
CATEGORIES=	sysutils
MASTER_SITES=	https://www.distfiles.pl/

MAINTAINER=	fcambus@NetBSD.org
COMMENT=	Tool for resizing BDF format fonts
LICENSE=	gnu-gpl-v2

# Do not build embedded getopt
SUBST_CLASSES+=		makefile
SUBST_STAGE.makefile=	post-configure
SUBST_MESSAGE.makefile=	Do not build embedded getopt
SUBST_FILES.makefile=	Makefile
SUBST_SED.makefile+=	-e 's,charresize.o getopt.o,charresize.o,'

# Fix getopt includes
SUBST_CLASSES+=		includes
SUBST_STAGE.includes=	post-configure
SUBST_MESSAGE.includes=	Fix getopt includes
SUBST_FILES.includes=	bdfresize.c
SUBST_SED.includes+=	-e 's,"getopt.h",<getopt.h>,'

GNU_CONFIGURE=	yes

.include "../../mk/bsd.pkg.mk"