pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cppcheck pkglint cleanup.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e11db560f06d
branches: trunk
changeset: 570748:e11db560f06d
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Feb 03 09:52:32 2010 +0000
description:
pkglint cleanup.
diffstat:
devel/cppcheck/Makefile | 3 ++-
devel/cppcheck/options.mk | 9 ++++++---
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (50 lines):
diff -r 7b7f28760221 -r e11db560f06d devel/cppcheck/Makefile
--- a/devel/cppcheck/Makefile Wed Feb 03 09:46:52 2010 +0000
+++ b/devel/cppcheck/Makefile Wed Feb 03 09:52:32 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2010/02/03 09:46:42 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2010/02/03 09:52:32 wiz Exp $
#
DISTNAME= cppcheck-1.40
@@ -21,6 +21,7 @@
.include "options.mk"
+.PHONY: man-build
post-build: man-build
man-build:
cd ${WRKSRC}/man && xsltproc --nonet \
diff -r 7b7f28760221 -r e11db560f06d devel/cppcheck/options.mk
--- a/devel/cppcheck/options.mk Wed Feb 03 09:46:52 2010 +0000
+++ b/devel/cppcheck/options.mk Wed Feb 03 09:52:32 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2010/02/03 09:46:42 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2010/02/03 09:52:32 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cppcheck
PKG_SUPPORTED_OPTIONS= qt
@@ -19,11 +19,13 @@
do-configure:
cd ${WRKSRC} && ${PREFIX}/qt4/bin/qmake
+.PHONY: link-build
post-build: link-build
link-build:
- echo '#!/bin/sh' > ${WRKSRC}/cppcheck-gui
- echo 'cd ${PREFIX}/share/cppcheck && ${PREFIX}/lib/cppcheck-gui "$@"' >> ${WRKSRC}/cppcheck-gui
+ ${ECHO} '#!/bin/sh' > ${WRKSRC}/cppcheck-gui
+ ${ECHO} 'cd ${PREFIX}/share/cppcheck && ${PREFIX}/lib/cppcheck-gui "$$@"' >> ${WRKSRC}/cppcheck-gui
+.PHONY: qt-install
post-install: qt-install
qt-install:
${INSTALL_SCRIPT} ${WRKSRC}/cli/cppcheck ${DESTDIR}${PREFIX}/bin
@@ -37,6 +39,7 @@
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.else
+.PHONY: main-install
post-install: main-install
main-install:
${INSTALL_PROGRAM} ${WRKSRC}/cppcheck ${DESTDIR}${PREFIX}/bin/
Home |
Main Index |
Thread Index |
Old Index