summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-07 17:51:59 +0000
committerjoerg <joerg>2009-02-07 17:51:59 +0000
commit5695cb49115a30e666edbdffdf1b59cf30861aad (patch)
tree24668351c4bb9272cfc8f450f2eff5591874a69a
parentea4e5ad8a2ea25ada1f0085c564778fe16d5cdd2 (diff)
downloadpkgsrc-5695cb49115a30e666edbdffdf1b59cf30861aad.tar.gz
DESTDIR support
-rw-r--r--devel/libdaemon/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/libdaemon/Makefile b/devel/libdaemon/Makefile
index be674ad4ada..3fea6458553 100644
--- a/devel/libdaemon/Makefile
+++ b/devel/libdaemon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/12/20 17:24:48 ahoka Exp $
+# $NetBSD: Makefile,v 1.2 2009/02/07 17:51:59 joerg Exp $
#
DISTNAME= libdaemon-0.12
@@ -9,6 +9,8 @@ MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://0pointer.de/lennart/projects/libdaemon/
COMMENT= C library that eases the writing of UNIX daemons
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libdaemon.pc.in
@@ -16,8 +18,9 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-lynx
+INSTALLATION_DIRS= share/doc/libdaemon
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdaemon
- ${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/libdaemon
+ ${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/libdaemon
.include "../../mk/bsd.pkg.mk"