pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/openslp Add DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac8441670ed3
branches: trunk
changeset: 535148:ac8441670ed3
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Nov 08 19:32:27 2007 +0000
description:
Add DESTDIR support.
diffstat:
net/openslp/Makefile | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diffs (45 lines):
diff -r 991386c11981 -r ac8441670ed3 net/openslp/Makefile
--- a/net/openslp/Makefile Thu Nov 08 19:31:40 2007 +0000
+++ b/net/openslp/Makefile Thu Nov 08 19:32:27 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2006/07/13 13:42:36 he Exp $
+# $NetBSD: Makefile,v 1.32 2007/11/08 19:32:27 joerg Exp $
DISTNAME= openslp-1.2.1
PKGREVISION= 1
@@ -9,6 +9,8 @@
HOMEPAGE= http://sourceforge.net/projects/openslp
COMMENT= Open-source implementation of the Service Location Protocol
+PKG_DESTDIR_SUPPORT= user-destdir
+
# Needs pkgviews-enabled automake
# PKG_INSTALLATION_TYPES= overwrite pkgviews
@@ -30,6 +32,8 @@
.endfor
RCD_SCRIPTS= slpd
+INSTALLATION_DIRS= share/doc/openslp
+
.include "../../security/openssl/buildlink3.mk"
post-extract:
@@ -41,13 +45,12 @@
${LOCALBASE}/bin/libtoolize && automake --add-missing
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/openslp
- @cd ${WRKSRC}/doc && ${PAX} -rw . ${PREFIX}/share/doc/openslp
- @${FIND} ${PREFIX}/share/doc/openslp | ${XARGS} ${CHOWN} \
+ @cd ${WRKSRC}/doc && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/doc/openslp
+ @${FIND} ${DESTDIR}${PREFIX}/share/doc/openslp | ${XARGS} ${CHOWN} \
${SHAREOWN}:${SHAREGRP}
- @${FIND} ${PREFIX}/share/doc/openslp -type f | ${XARGS} ${CHMOD} \
+ @${FIND} ${DESTDIR}${PREFIX}/share/doc/openslp -type f | ${XARGS} ${CHMOD} \
${SHAREMODE}
- @${FIND} ${PREFIX}/share/doc/openslp -type d | ${XARGS} ${CHMOD} \
+ @${FIND} ${DESTDIR}${PREFIX}/share/doc/openslp -type d | ${XARGS} ${CHMOD} \
${PKGDIRMODE}
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index