pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/spread DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5e08a564243
branches:  trunk
changeset: 554078:b5e08a564243
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Feb 07 23:29:00 2009 +0000

description:
DESTDIR support.

diffstat:

 net/spread/Makefile |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (40 lines):

diff -r 0bd2fac5ef67 -r b5e08a564243 net/spread/Makefile
--- a/net/spread/Makefile       Sat Feb 07 23:23:53 2009 +0000
+++ b/net/spread/Makefile       Sat Feb 07 23:29:00 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/07/04 20:54:52 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2009/02/07 23:29:00 joerg Exp $
 #
 
 DISTNAME=      spread-src-3.17.3
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.spread.org/
 COMMENT=       Group communication system providing a number of messaging services
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}/${DISTNAME}
 USE_TOOLS+=    perl
 GNU_CONFIGURE= YES
@@ -40,14 +42,14 @@
 
 OWN_DIRS_PERMS=        ${RUNTIME_DIR} ${SPREAD_USER} ${SPREAD_GROUP} 0750
 
+INSTALLATION_DIRS=     ${DOCSDIR} ${EXAMPLEDIR}
+
 post-install:
-       ${INSTALL_DATA_DIR} ${DOCSDIR}
-       ${INSTALL_DATA_DIR} ${EXAMPLEDIR}
-       ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf ${EXAMPLEDIR}/spread.conf.sample
-       ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip ${EXAMPLEDIR}/spread.access_ip.sample
-       ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DOCSDIR}/Readme.txt
-       ${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}/LICENSE
-       ${INSTALL_DATA} ${WRKSRC}/Short_Buffer_Handling.txt ${DOCSDIR}/Short_Buffer_Handling.txt
+       ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf ${DESTDIR}${EXAMPLEDIR}/spread.conf.sample
+       ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip ${DESTDIR}${EXAMPLEDIR}/spread.access_ip.sample
+       ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DESTDIR}${DOCSDIR}/Readme.txt
+       ${INSTALL_DATA} ${WRKSRC}/license.txt ${DESTDIR}${DOCSDIR}/LICENSE
+       ${INSTALL_DATA} ${WRKSRC}/Short_Buffer_Handling.txt ${DESTDIR}${DOCSDIR}/Short_Buffer_Handling.txt
 
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index