fcambus a13711d777 Import sysutils/bdfresize.
Bdfresize is a command to magnify or reduce fonts which are described
with the standard BDF format.

OK awolk@
2017-06-13 21:46:16 +00:00

26 lines
555 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2017/06/13 21:46:16 fcambus Exp $
COMMENT = tool for resizing BDF format fonts
DISTNAME = bdfresize-1.5
CATEGORIES = sysutils
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c
MASTER_SITES = http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/
CONFIGURE_STYLE = gnu
post-configure:
# Do not build embedded getopt
@sed -i 's|"getopt.h"|<getopt.h>|' ${WRKSRC}/bdfresize.c
@sed -i 's|charresize.o getopt.o|charresize.o|' ${WRKSRC}/Makefile
.include <bsd.port.mk>