Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (22 sloc) 0.798 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
# $NetBSD: options.mk,v 1.3 2011/05/29 11:52:12 wiz Exp $

PKG_OPTIONS_VAR= PKG_OPTIONS.cppcheck
PKG_SUPPORTED_OPTIONS= qt

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mqt)
INSTALLATION_DIRS+= lib share/cppcheck

PLIST_SRC+= PLIST PLIST.qt

do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cli/cppcheck ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/gui/cppcheck-gui \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/man/cppcheck.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../x11/qt4-libs/buildlink3.mk"
BUILDLINK_DEPMETHOD.qt4-tools?= full
.include "../../x11/qt4-tools/buildlink3.mk"
.else
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cli/cppcheck ${DESTDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/man/cppcheck.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.endif
Something went wrong with that request. Please try again.