diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-07 18:24:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-07 18:24:06 +0000 |
commit | 45037cadaa4118680e34904a95296014acefd295 (patch) | |
tree | 0196dbea73df2702f21bb46e15269cf4f0a19526 | |
parent | 0958897b31b2df5bc643e280103fb521a972257d (diff) | |
download | pkgsrc-45037cadaa4118680e34904a95296014acefd295.tar.gz |
DESTDIR support.
-rw-r--r-- | net/avahi/Makefile | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile index 376997fdc4f..f57c7c720a2 100644 --- a/net/avahi/Makefile +++ b/net/avahi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/01/23 11:21:09 sketch Exp $ +# $NetBSD: Makefile,v 1.9 2009/02/07 18:24:06 joerg Exp $ DISTNAME= avahi-0.6.24 CATEGORIES= net @@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://avahi.org/ COMMENT= Facilitate service discovery on a local network +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_DIRS+= xdg-1.4 USE_LIBTOOL= YES @@ -81,25 +83,24 @@ CONFIGURE_ARGS+= --with-distro=none INSTALLATION_DIRS+= share/examples/avahi INSTALLATION_DIRS+= share/doc/avahi -post-install: - ${MKDIR} ${PKG_SYSCONFDIR}/services +MAKE_DIRS+= ${PKG_SYSCONFDIR}/services +post-install: ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/avahi-daemon.conf \ - ${PREFIX}/share/examples/avahi + ${DESTDIR}${PREFIX}/share/examples/avahi ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/hosts \ - ${PREFIX}/share/examples/avahi + ${DESTDIR}${PREFIX}/share/examples/avahi ${INSTALL_DATA} ${WRKSRC}/avahi-dnsconfd/avahi-dnsconfd.action \ - ${PREFIX}/share/examples/avahi + ${DESTDIR}${PREFIX}/share/examples/avahi ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/ssh.service \ - ${PREFIX}/share/examples/avahi - ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/avahi-dbus.conf \ - ${PREFIX}/share/examples/avahi/avahi-dbus.conf - - ${INSTALL_DATA} ${WRKSRC}/docs/HACKING ${PREFIX}/share/doc/avahi - ${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${PREFIX}/share/doc/avahi - ${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${PREFIX}/share/doc/avahi - ${INSTALL_DATA} ${WRKSRC}/docs/README ${PREFIX}/share/doc/avahi - ${INSTALL_DATA} ${WRKSRC}/docs/TODO ${PREFIX}/share/doc/avahi + ${DESTDIR}${PREFIX}/share/examples/avahi + ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/avahi-dbus.conf \ + ${DESTDIR}${PREFIX}/share/examples/avahi/avahi-dbus.conf + ${INSTALL_DATA} ${WRKSRC}/docs/HACKING ${DESTDIR}${PREFIX}/share/doc/avahi + ${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${PREFIX}/share/doc/avahi + ${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${DESTDIR}${PREFIX}/share/doc/avahi + ${INSTALL_DATA} ${WRKSRC}/docs/README ${DESTDIR}${PREFIX}/share/doc/avahi + ${INSTALL_DATA} ${WRKSRC}/docs/TODO ${DESTDIR}${PREFIX}/share/doc/avahi .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" |