diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 22:57:40 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 22:57:40 +0000 |
commit | ab25766c713e99d509c047b0f6cd6ae3260cc586 (patch) | |
tree | 892f24338b971c99ecdc3db1d871d95d58c28c61 /net/ucarp | |
parent | 93963b34fa628b995ffc09e0241bdb72c019ad0f (diff) | |
download | pkgsrc-ab25766c713e99d509c047b0f6cd6ae3260cc586.tar.gz |
DESTDIR support
Diffstat (limited to 'net/ucarp')
-rw-r--r-- | net/ucarp/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/ucarp/Makefile b/net/ucarp/Makefile index 60a4df5909f..6a0c5f24093 100644 --- a/net/ucarp/Makefile +++ b/net/ucarp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/02/22 19:01:24 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2010/02/11 23:06:05 joerg Exp $ # DISTNAME= ucarp-1.1 @@ -11,6 +11,8 @@ MAINTAINER= joel@carnat.net HOMEPAGE= http://www.ucarp.org/project/ucarp COMMENT= Common Address Redundancy Protocol (CARP) for Unix +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= YES GNU_CONFIGURE= YES USE_TOOLS+= msgfmt @@ -18,14 +20,14 @@ USE_TOOLS+= msgfmt # pcap_freecode with one argument only BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6.0 +INSTALLATION_DIRS+= share/doc/ucarp share/examples/ucarp + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucarp for DOC in AUTHORS COPYING NEWS README; do \ - ${INSTALL_DATA} ${WRKSRC}/$$DOC ${PREFIX}/share/doc/ucarp; \ + ${INSTALL_DATA} ${WRKSRC}/$$DOC ${DESTDIR}${PREFIX}/share/doc/ucarp; \ done - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucarp ${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/*sh \ - ${PREFIX}/share/examples/ucarp + ${DESTDIR}${PREFIX}/share/examples/ucarp .include "../../devel/gettext-lib/buildlink3.mk" .include "../../net/libpcap/buildlink3.mk" |