summaryrefslogtreecommitdiff
path: root/editors/elvis/Makefile
blob: 4b656310c4a3bded4ab39792a3980516dec2f972 (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
34
35
36
37
38
39
40
41
42
# $NetBSD: Makefile,v 1.5 2008/04/22 16:23:57 jlam Exp $

# This section contains variables that might be overridden.
PKGNAME?=	${PKGNAME_BASE}
COMMENT?=	vi clone with regex-search, hex-edit, HTML/LaTeX preview

# Normal package Makefile contents follow.
DISTNAME=	elvis-2.2_0
PKGNAME_BASE=	${DISTNAME:S/_/./}
PKGREVISION=	6
CATEGORIES=	editors
MASTER_SITES=	ftp://ftp.cs.pdx.edu/pub/elvis/

CONFLICTS+=	elvis-[0-9]*
CONFLICTS+=	elvis-x11-[0-9]*

MAINTAINER=	airhead@users.sourceforge.net
HOMEPAGE=	http://elvis.the-little-red-haired-girl.org/

PKG_DESTDIR_SUPPORT=	user-destdir

.include "options.mk"

HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--verbose
CONFIGURE_ARGS+=	--prefix=${PREFIX:Q}
CONFIGURE_ARGS+=	--docdir=${PREFIX:Q}/share/doc/elvis
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}

PKG_SYSCONFSUBDIR?=	elvis
CONF_FILES=		${PREFIX}/share/elvis/elvis.rc \
			${PKG_SYSCONFDIR}/elvis.rc

INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}
INSTALL_MAKE_FLAGS+=	BINDIR=${DESTDIR}${PREFIX}/bin
INSTALL_MAKE_FLAGS+=	DATADIR=${DESTDIR}${PREFIX}/share/elvis
INSTALL_MAKE_FLAGS+=	DOCDIR=${DESTDIR}${PREFIX}/share/doc/elvis

INSTALLATION_DIRS=	${PKGMANDIR}/man1

.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"