d05fd8ed7e
script can detect it spuriously, and the installation phase will fail during the PLIST check. I would've added it as an option, but I do not know if quilt even works with our ancient rpm package. Bump rev (mostly for CHANGES).
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2008/02/08 19:29:25 bjs Exp $
|
|
#
|
|
|
|
DISTNAME= quilt-0.46
|
|
CATEGORIES= devel scm
|
|
PKGREVISION= 1
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases/quilt/
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
HOMEPAGE= http://savannah.nongnu.org/projects/quilt
|
|
COMMENT= Tools to manage series of patches
|
|
|
|
DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
|
|
DEPENDS+= gsed-[0-9]*:../../textproc/gsed
|
|
DEPENDS+= patch>=2.4:../../devel/patch
|
|
|
|
BUILD_DEFS+= GNU_PROGRAM_PREFIX
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= bash:run gettext-tools gmake msgfmt perl:run
|
|
|
|
CONFIGURE_ARGS+= --with-cp=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}cp
|
|
CONFIGURE_ARGS+= --with-date=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}date
|
|
CONFIGURE_ARGS+= --with-patch=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}patch
|
|
CONFIGURE_ARGS+= --with-sed=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}sed
|
|
CONFIGURE_ARGS+= --with-sendmail=/usr/sbin/sendmail
|
|
CONFIGURE_ARGS+= --without-rpmbuild
|
|
CONFIGURE_ARGS+= --without-getopt
|
|
|
|
INSTALL_MAKE_FLAGS+= etcdir=${PREFIX}/share/examples/quilt
|
|
|
|
REPLACE_INTERPRETER+= conf-bash
|
|
REPLACE.conf-bash.old= @BASH@
|
|
REPLACE.conf-bash.new= ${BASH}
|
|
REPLACE_FILES.conf-bash=*.in */*.in */*/*.in
|
|
|
|
SUBST_CLASSES+= bash
|
|
SUBST_MESSAGE.bash= Fixing non-shellbang references to bash.
|
|
SUBST_STAGE.bash= pre-configure
|
|
SUBST_SED.bash= -e 's,@BASH@,${BASH},g'
|
|
SUBST_FILES.bash= quilt/scripts/inspect.in
|
|
|
|
SUBST_CLASSES+= etc
|
|
SUBST_MESSAGE.etc= Fixing path to configuration file.
|
|
SUBST_STAGE.etc= pre-configure
|
|
SUBST_SED.etc= -e 's,/etc/quilt,${PKG_SYSCONFDIR}/quilt,g'
|
|
SUBST_FILES.etc= bin/* doc/* po/*
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|