pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/netatalk add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59ae202afbf9
branches:  trunk
changeset: 554320:59ae202afbf9
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Feb 12 06:44:55 2009 +0000

description:
add DESTDIR support.

diffstat:

 net/netatalk/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 4d3e621d334e -r 59ae202afbf9 net/netatalk/Makefile
--- a/net/netatalk/Makefile     Thu Feb 12 06:08:33 2009 +0000
+++ b/net/netatalk/Makefile     Thu Feb 12 06:44:55 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2008/12/29 08:48:45 markd Exp $
+# $NetBSD: Makefile,v 1.62 2009/02/12 06:44:55 markd Exp $
 
 DISTNAME=      netatalk-2.0.3
 PKGREVISION=   12
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://netatalk.sourceforge.net/
 COMMENT=       Netatalk appletalk file and print services
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS=       rc>=1.5:../../shells/rc
 
 GNU_CONFIGURE= YES
@@ -104,12 +106,11 @@
 CONFIGURE_ARGS+=       --disable-srvloc
 .endif
 
-pre-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/libexec/psffilters
+INSTALLATION_DIRS=     libexec/psffilters
 
 .if !empty(PKG_OPTIONS:Mpam)
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/config/netatalk.pamd ${EG_DIR}
+       ${INSTALL_DATA} ${WRKSRC}/config/netatalk.pamd ${DESTDIR}${EG_DIR}
 .endif
 
 .include "../../databases/db4/buildlink3.mk"



Home | Main Index | Thread Index | Old Index