automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
26 lines
757 B
Text
26 lines
757 B
Text
# $NetBSD: Makefile.common,v 1.7 2005/12/29 06:21:38 jlam 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
|
|
|
|
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'
|