pkgsrc/fonts/pcf2bdf/Makefile
fcambus 8734570fc1 pcf2bdf: update to 1.06.
pkgsrc changes:

- Upstream moved to GitHub
- Add missing LICENSE marker
- Stop patching Makefile.gcc and use a do-build target instead

ChangeLog:

1.06:

- Fixed: too-long-path-to-input.pcf.gz causes stack-based buffer overflow.

1.05:

- The size should come from POINT_SIZE instead of PIXEL_SIZE.
- Internal quotation characters in a string property should be indicated
  (or "quoted") by using two quotation characters in a row.
- Fix avoid crash with large compressed metrics tables. (Colin Watson)
- Fix support gzipped source. (Colin Watson)
- Fix use C++ compiler and simplify using GNU extensions. (Jonas Smedegaard)
- Other fixes.
2020-03-07 22:51:40 +00:00

27 lines
673 B
Makefile

# $NetBSD: Makefile,v 1.16 2020/03/07 22:51:40 fcambus Exp $
#
DISTNAME= pcf2bdf-1.06
CATEGORIES= fonts graphics x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=ganaware/}
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= https://github.com/ganaware/pcf2bdf
COMMENT= Convert X font from PCF to BDF
LICENSE= mit
USE_TOOLS+= gmake
USE_LANGUAGES= c++
MAKE_FILE= Makefile.gcc
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-build:
cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o pcf2bdf pcf2bdf.cc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pcf2bdf ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pcf2bdf.man \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pcf2bdf.1
.include "../../mk/bsd.pkg.mk"