summaryrefslogtreecommitdiff
path: root/devel/splint
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 18:19:27 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 18:19:27 +0000
commit7d58784590c3ab3e40c27b3c9af6e230839cf8bd (patch)
tree562d017af261f94b704cff2dff30a02e5dc22f5d /devel/splint
parent449b27ae9a03825f36f302b5950a30f2d017f8c3 (diff)
downloadpkgsrc-7d58784590c3ab3e40c27b3c9af6e230839cf8bd.tar.gz
DESTDIR support from Steven Drake.
Diffstat (limited to 'devel/splint')
-rw-r--r--devel/splint/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/splint/Makefile b/devel/splint/Makefile
index c0c201d55d7..9f1eaa0bf73 100644
--- a/devel/splint/Makefile
+++ b/devel/splint/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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"