31 lines
888 B
Makefile
31 lines
888 B
Makefile
# $NetBSD: Makefile,v 1.8 2013/02/16 09:28:59 shattered Exp $
|
|
#
|
|
|
|
DISTNAME= dvtm-0.8
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www.brain-dump.org/projects/dvtm/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.brain-dump.org/projects/dvtm/
|
|
COMMENT= Dynamic virtual terminal manager
|
|
LICENSE= mit
|
|
|
|
NO_CONFIGURE= yes
|
|
USE_LANGUAGES= c99
|
|
CURSES_DEFAULT= ncurses
|
|
|
|
SUBST_CLASSES+= config
|
|
SUBST_STAGE.config= pre-build
|
|
SUBST_MESSAGE.config= Fixing config.mk
|
|
SUBST_FILES.config= config.mk
|
|
SUBST_SED.config= -e 's,/usr/local,${PREFIX},'
|
|
SUBST_SED.config+= -e 's,share/man,${PKGMANDIR},'
|
|
SUBST_SED.config+= -e '/LIBS/s/-lncursesw/-lncurses/'
|
|
SUBST_SED.config+= -e 's,^CFLAGS =,CFLAGS +=,'
|
|
SUBST_SED.config+= -e 's,^LDFLAGS =,LDFLAGS +=,'
|
|
SUBST_SED.config+= -e 's/cc/${CC:Q}/'
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|