[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / elvis

File: [cvs.NetBSD.org] / pkgsrc / editors / elvis / Makefile.common (download)

Revision 1.6, Mon Dec 5 23:55:06 2005 UTC (17 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.5: +2 -2 lines

Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.

# $NetBSD: Makefile.common,v 1.6 2005/12/05 23:55:06 rillig 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_PKGINSTALL=		YES
HAS_CONFIGURE=		YES
CONFIGURE_ARGS+=	--prefix=${PREFIX:Q}
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'