4c8382aec0
their files via a custom do-install target.
33 lines
912 B
Makefile
33 lines
912 B
Makefile
# $NetBSD: Makefile,v 1.17 2008/03/03 17:45:35 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= its4-1.1.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= # have to fetch for yourself, or from a NetBSD mirror
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.cigital.com/its4/
|
|
COMMENT= Static C/C++ code scanner for potential security problems
|
|
|
|
LICENSE= no-commercial-use
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/its4
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/its4
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
USE_LANGUAGES= c++
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/its4 ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/docs/its4.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/its4
|
|
cd ${WRKSRC} && ${INSTALL_DATA} LICENSE TODO vulns.i4d \
|
|
${DESTDIR}${PREFIX}/share/its4
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|