pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/splint DESTDIR support from Steven Drake.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/971268cf7b09
branches:  trunk
changeset: 570265:971268cf7b09
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jan 27 18:19:27 2010 +0000

description:
DESTDIR support from Steven Drake.

diffstat:

 devel/splint/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 76e3fd15c666 -r 971268cf7b09 devel/splint/Makefile
--- a/devel/splint/Makefile     Wed Jan 27 18:14:05 2010 +0000
+++ b/devel/splint/Makefile     Wed Jan 27 18:19:27 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/03/03 08:58:23 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2010/01/27 18:19:27 joerg Exp $
 #
 
 DISTNAME=      splint-3.1.2
@@ -11,10 +11,12 @@
 HOMEPAGE=      http://lclint.cs.virginia.edu/
 COMMENT=       Statically check C programs
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    gmake lex
 GNU_CONFIGURE= YES
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/doc/splint.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/doc/splint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index