pkgsrc/devel/exctags/Makefile
2006-04-13 23:31:19 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2006/04/13 23:36:20 rillig Exp $
#
DISTNAME= ctags-5.5.4
PKGNAME= ex${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ctags/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ctags.sourceforge.net/
COMMENT= Exuberant (feature-filled) tagfile generator for vi, emacs and clones
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-macro-patterns
CONFIGURE_ARGS+= --with-readlib
CONFIGURE_ARGS+= --enable-custom-config=${PKG_SYSCONFDIR}/ctags.conf
CPPFLAGS+= -DETAGS="\"exetags\""
SUBST_CLASSES+= man
SUBST_STAGE.man= post-patch
SUBST_FILES.man= ctags.1
SUBST_SED.man= -e 's|^ctags \\-|exctags \\-|'
SUBST_SED.man+= -e 's|fBctags|fBexctags|g'
SUBST_SED.man+= -e 's|fBetags|fBexetags|g'
SUBST_SED.man+= -e 's|"ctags|"exctags|g'
SUBST_SED.man+= -e 's|"etags|"exetags|g'
SUBST_SED.man+= -e 's|/usr/local|${LOCALBASE}|g'
SUBST_CLASSES+= rename
SUBST_STAGE.rename= post-patch
SUBST_FILES.rename= c.c eiffel.c general.h lregex.c lua.c main.c \
options.c parse.c routines.c
SUBST_SED.rename= -e 's|__unused__|__unused_|g'
.include "../../mk/bsd.pkg.mk"