summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2009-02-12 06:44:55 +0000
committermarkd <markd@pkgsrc.org>2009-02-12 06:44:55 +0000
commit34ad09dec4cf7bab3d8acfe9ca256dd467086535 (patch)
treeb0d17645db3ef47042a625a9bade0fef9b36a3eb
parentd3e9ade2b47680841b4975063580a68c61ca8cb2 (diff)
downloadpkgsrc-34ad09dec4cf7bab3d8acfe9ca256dd467086535.tar.gz
add DESTDIR support.
-rw-r--r--net/netatalk/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index 0b82136ff9e..b9d170b8fe0 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -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 @@ MAINTAINER= markd@NetBSD.org
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+= --enable-srvloc
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"