diff options
author | wiz <wiz@pkgsrc.org> | 2010-02-03 09:52:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-02-03 09:52:32 +0000 |
commit | 95c55d6bdf50dd68d687525085e59260edc3e32f (patch) | |
tree | ff922e637d2049446fa4937d796d16fbc4b34c97 /devel | |
parent | 5f7e7d05bf60f648bfebd59171f2d5bcc4481fe4 (diff) | |
download | pkgsrc-95c55d6bdf50dd68d687525085e59260edc3e32f.tar.gz |
pkglint cleanup.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cppcheck/Makefile | 3 | ||||
-rw-r--r-- | devel/cppcheck/options.mk | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile index 343b411c2f9..62b46a4ae4c 100644 --- a/devel/cppcheck/Makefile +++ b/devel/cppcheck/Makefile @@ -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 @@ USE_LANGUAGES= c++ .include "options.mk" +.PHONY: man-build post-build: man-build man-build: cd ${WRKSRC}/man && xsltproc --nonet \ diff --git a/devel/cppcheck/options.mk b/devel/cppcheck/options.mk index 0042cb69b8c..339b40df7c5 100644 --- a/devel/cppcheck/options.mk +++ b/devel/cppcheck/options.mk @@ -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 @@ PLIST_SRC+= PLIST PLIST.qt 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 @@ qt-install: .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/ |