33 lines
886 B
Makefile
33 lines
886 B
Makefile
# $NetBSD: Makefile,v 1.6 2006/08/02 16:21:30 dhowland Exp $
|
|
#
|
|
|
|
DISTNAME= highlight-2.4.3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.andre-simon.de/zip/
|
|
|
|
MAINTAINER= dhowland@users.sourceforge.net
|
|
HOMEPAGE= http://www.andre-simon.de/
|
|
COMMENT= Converts source code to formatted text with syntax highlighting
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_LANGUAGES= c++
|
|
MANCOMPRESSED= yes
|
|
|
|
MAKEFILE= makefile
|
|
|
|
PKG_SYSCONFSUBDIR= highlight
|
|
|
|
EGDIR= ${PREFIX}/share/examples/highlight
|
|
CONF_FILES= ${EGDIR}/extensions.conf \
|
|
${PKG_SYSCONFDIR}/extensions.conf \
|
|
${EGDIR}/scriptre.conf \
|
|
${PKG_SYSCONFDIR}/scriptre.conf
|
|
|
|
SUBST_CLASSES+= etc
|
|
SUBST_MESSAGE.etc= Fixing hardcoded paths.
|
|
SUBST_STAGE.etc= post-patch
|
|
SUBST_FILES.etc= highlight/datadir.cpp
|
|
SUBST_SED.etc= -e 's,/etc/highlight,${PKG_SYSCONFDIR},g'
|
|
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|