pkgsrc/misc/qterm/Makefile
agc 407158d897 Don't define our own dprintf() function in the package; it can clash
with a libc function of the same name.  Use SUBST to modify the
function name.
2011-10-03 05:02:48 +00:00

28 lines
721 B
Makefile

# $NetBSD: Makefile,v 1.13 2011/10/03 05:02:48 agc Exp $
#
DISTNAME= qterm-ac-1.0
PKGNAME= qterm-1.0
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.westley.demon.co.uk/src/
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://www.alistaircrooks.co.uk/software.html
COMMENT= Utility to recognise terminal type automatically
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
PKG_DESTDIR_SUPPORT= user-destdir
EGDIR= ${PREFIX}/share/examples/qterm
CONF_FILES= ${EGDIR}/qtermtab ${PKG_SYSCONFDIR}/qtermtab
SUBST_CLASSES+= qterm
SUBST_STAGE.qterm= pre-configure
SUBST_FILES.qterm= aux.c qterm.c qterm.h table.c
SUBST_SED.qterm+= -e 's|dprintf|qterm_debug_printf|g'
.include "../../mk/bsd.pkg.mk"