pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/zidrav give to pkgsrc-users@



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fec0ee9c2f4f
branches:  trunk
changeset: 556404:fec0ee9c2f4f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Mar 21 09:44:19 2009 +0000

description:
give to pkgsrc-users@
While here, add DESTDIR support.

diffstat:

 sysutils/zidrav/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 4df9cab10ca5 -r fec0ee9c2f4f sysutils/zidrav/Makefile
--- a/sysutils/zidrav/Makefile  Sat Mar 21 09:00:15 2009 +0000
+++ b/sysutils/zidrav/Makefile  Sat Mar 21 09:44:19 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/02/22 19:30:06 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2009/03/21 09:44:19 tnn Exp $
 #
 
 DISTNAME=      zidrav4unix-1.2.0
@@ -6,15 +6,15 @@
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=zidrav/}
 
-MAINTAINER=    tnn%netilium.org@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://sourceforge.net/projects/zidrav
 COMMENT=       File corruption detection and repair program
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES= c c++
 BUILD_TARGET=  zidrav
 
-PKG_INSTALLATION_TYPES=        overwrite pkgviews
-
 .include "../../mk/endian.mk"
 .if ${MACHINE_ENDIAN} == "big"
 CXXFLAGS+=     -DCPU_BIGENDIAN
@@ -23,7 +23,8 @@
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/zidrav ${PREFIX}/bin/zidrav
-       ${INSTALL_MAN} ${WRKSRC}/zidrav.1 ${PREFIX}/${PKGMANDIR}/man1/zidrav.1
+       ${INSTALL_PROGRAM} ${WRKSRC}/zidrav ${DESTDIR}${PREFIX}/bin/zidrav
+       ${INSTALL_MAN} ${WRKSRC}/zidrav.1 \
+         ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zidrav.1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index