Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / misc / dvtm / Makefile
blobe221a088d157f1fb0819db82e8067572cac5f4c6
1 # $NetBSD: Makefile,v 1.7 2012/10/08 09:57:20 asau Exp $
4 DISTNAME= dvtm-0.8
5 CATEGORIES= misc
6 MASTER_SITES= http://www.brain-dump.org/projects/dvtm/
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://www.brain-dump.org/projects/dvtm/
10 COMMENT= Dynamic virtual terminal manager
11 LICENSE= mit
13 NO_CONFIGURE= yes
14 USE_LANGUAGES= c99
15 CURSES_DEFAULT= ncurses
17 SUBST_CLASSES+= config
18 SUBST_STAGE.config= pre-build
19 SUBST_MESSAGE.config= Fixing config.mk
20 SUBST_FILES.config= config.mk
21 SUBST_SED.config= -e 's,/usr/local,${PREFIX},'
22 SUBST_SED.config+= -e 's,share/man,${PKGMANDIR},'
23 SUBST_SED.config+= -e '/LIBS/s/-lncursesw/-lncurses/'
24 SUBST_SED.config+= -e 's,^CFLAGS =,CFLAGS +=,'
25 SUBST_SED.config+= -e 's,^LDFLAGS =,LDFLAGS +=,'
26 SUBST_SED.config+= -e 's/cc/${CC:Q}/'
28 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
30 .include "../../mk/curses.buildlink3.mk"
31 .include "../../mk/bsd.pkg.mk"