| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.24 2013/03/22 05:07:50 rodent Exp $ | | 1 | # $NetBSD: Makefile,v 1.25 2013/05/05 21:56:22 rodent Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ctags-5.8 | | 4 | DISTNAME= ctags-5.8 |
5 | PKGNAME= ex${DISTNAME} | | 5 | PKGNAME= ex${DISTNAME} |
6 | CATEGORIES= devel | | 6 | CATEGORIES= devel |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ctags/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ctags/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://ctags.sourceforge.net/ | | 10 | HOMEPAGE= http://ctags.sourceforge.net/ |
11 | COMMENT= Exuberant (feature-filled) tagfile generator for vi, emacs and clones | | 11 | COMMENT= Exuberant (feature-filled) tagfile generator for vi, emacs and clones |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 14 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
| @@ -20,26 +20,26 @@ CONFIGURE_ARGS+= --enable-custom-config= | | | @@ -20,26 +20,26 @@ CONFIGURE_ARGS+= --enable-custom-config= |
20 | | | 20 | |
21 | CPPFLAGS+= -DETAGS="\"exetags\"" | | 21 | CPPFLAGS+= -DETAGS="\"exetags\"" |
22 | # Makefile ignores CPPFLAGS | | 22 | # Makefile ignores CPPFLAGS |
23 | CFLAGS+= ${CPPFLAGS} | | 23 | CFLAGS+= ${CPPFLAGS} |
24 | | | 24 | |
25 | SUBST_CLASSES+= man | | 25 | SUBST_CLASSES+= man |
26 | SUBST_STAGE.man= post-patch | | 26 | SUBST_STAGE.man= post-patch |
27 | SUBST_FILES.man= ctags.1 | | 27 | SUBST_FILES.man= ctags.1 |
28 | SUBST_SED.man= -e 's|^ctags \\-|exctags \\-|' | | 28 | SUBST_SED.man= -e 's|^ctags \\-|exctags \\-|' |
29 | SUBST_SED.man+= -e 's|fBctags|fBexctags|g' | | 29 | SUBST_SED.man+= -e 's|fBctags|fBexctags|g' |
30 | SUBST_SED.man+= -e 's|fBetags|fBexetags|g' | | 30 | SUBST_SED.man+= -e 's|fBetags|fBexetags|g' |
31 | SUBST_SED.man+= -e 's|"ctags|"exctags|g' | | 31 | SUBST_SED.man+= -e 's|"ctags|"exctags|g' |
32 | SUBST_SED.man+= -e 's|"etags|"exetags|g' | | 32 | SUBST_SED.man+= -e 's|"etags|"exetags|g' |
33 | SUBST_SED.man+= -e 's|/usr/local|${LOCALBASE}|g' | | 33 | SUBST_SED.man+= -e 's|/usr/local|${PREFIX}|g' |
34 | | | 34 | |
35 | SUBST_CLASSES+= rename | | 35 | SUBST_CLASSES+= rename |
36 | SUBST_STAGE.rename= post-patch | | 36 | SUBST_STAGE.rename= post-patch |
37 | SUBST_FILES.rename= c.c eiffel.c general.h lregex.c lua.c main.c \ | | 37 | SUBST_FILES.rename= c.c eiffel.c general.h lregex.c lua.c main.c \ |
38 | options.c parse.c routines.c | | 38 | options.c parse.c routines.c |
39 | SUBST_SED.rename= -e 's|__unused__|__unused_|g' | | 39 | SUBST_SED.rename= -e 's|__unused__|__unused_|g' |
40 | | | 40 | |
41 | INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ | | 41 | INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ |
42 | libdir=${DESTDIR}${PREFIX}/lib \ | | 42 | libdir=${DESTDIR}${PREFIX}/lib \ |
43 | mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} | | 43 | mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} |
44 | | | 44 | |
45 | .include "../../mk/bsd.pkg.mk" | | 45 | .include "../../mk/bsd.pkg.mk" |