pkgsrc/textproc/highlight/Makefile
2009-03-02 22:10:26 +00:00

33 lines
857 B
Makefile

# $NetBSD: Makefile,v 1.4 2009/03/02 22:10:26 rh Exp $
DISTNAME= highlight-2.7
CATEGORIES= textproc
MASTER_SITES= http://www.andre-simon.de/zip/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.andre-simon.de/
COMMENT= Converts source code to formatted text with syntax highlighting
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
MANCOMPRESSED= yes
MAKE_FILE= makefile
PKG_SYSCONFSUBDIR= highlight
EGDIR= ${PREFIX}/share/examples/highlight
CONF_FILES= ${EGDIR}/filetypes.conf \
${PKG_SYSCONFDIR}/filetypes.conf
SUBST_CLASSES+= etc
SUBST_MESSAGE.etc= Fixing hardcoded paths.
SUBST_STAGE.etc= post-patch
SUBST_FILES.etc= src/datadir.cpp
SUBST_SED.etc= -e 's,/etc/highlight,${PKG_SYSCONFDIR},g'
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"