diff options
author | joerg <joerg@pkgsrc.org> | 2007-11-08 19:32:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-11-08 19:32:27 +0000 |
commit | 59eb0208d2ef6c543e77f09fc0f25d60dbb390b9 (patch) | |
tree | bfe202dd90b06bfeac6aea3d8e959d9a304d4b70 | |
parent | 952c9705db60cb6cb3d59aa8a03ab822bc657d4c (diff) | |
download | pkgsrc-59eb0208d2ef6c543e77f09fc0f25d60dbb390b9.tar.gz |
Add DESTDIR support.
-rw-r--r-- | net/openslp/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/net/openslp/Makefile b/net/openslp/Makefile index f0701b79c4b..589a8acf75c 100644 --- a/net/openslp/Makefile +++ b/net/openslp/Makefile @@ -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 @@ MAINTAINER= jlam@pkgsrc.org 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 @@ CONF_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE} .endfor RCD_SCRIPTS= slpd +INSTALLATION_DIRS= share/doc/openslp + .include "../../security/openssl/buildlink3.mk" post-extract: @@ -41,13 +45,12 @@ pre-configure: ${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" |