blob: cf055d9127fabb8716192bb2bec31e10e01cfd01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $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"
|