summaryrefslogtreecommitdiff
path: root/editors/elvis/Makefile.common
blob: 5c76a9f24bd021c3865556247c29b0a8d5098843 (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
# $NetBSD: Makefile.common,v 1.2 2004/01/20 22:48:07 recht Exp $
#

DISTNAME=	elvis-2.2_0
CATEGORIES=	editors
MASTER_SITES=	ftp://ftp.cs.pdx.edu/pub/elvis/

MAINTAINER=	airhead@users.sourceforge.net
HOMEPAGE=	http://elvis.vi-editor.org/

PLIST_SRC=	${.CURDIR}/../elvis/PLIST.common
PATCHDIR=	${.CURDIR}/../elvis/patches
DISTINFO_FILE=	${.CURDIR}/../elvis/distinfo

USE_BUILDLINK2=		YES
USE_PKGINSTALL=		YES
HAS_CONFIGURE=		YES
CONFIGURE_ARGS+=	--prefix=${PREFIX}
CONFIGURE_ARGS+=	--docdir=${PREFIX}/share/doc/elvis

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

SUBST_CLASSES+=		sysconf
SUBST_STAGE.sysconf=	post-patch
SUBST_FILES.sysconf=	configure
SUBST_FILES.sysconf=	Makefile.in
SUBST_SED.sysconf=	-e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'