# $NetBSD: Makefile,v 1.2 2008/07/14 12:56:13 joerg Exp $ # DISTNAME= highlight-2.6.8 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++ 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"