openbsd-ports/security/siphon/Makefile
brad 4bf39e6f9d in this case we can use MAKE_FLAGS to override CC, CFLAGS and CCFLAGS and
get the desired results and now we don't need a patch anymore.
2001-06-30 02:12:47 +00:00

38 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2001/06/30 02:12:47 brad Exp $
COMMENT= "passive network mapping tool"
DISTNAME= siphon-v.666
PKGNAME= siphon-0.666
CATEGORIES= security net
NEED_VERSION= 1.414
HOMEPAGE= http://www.gravitino.net/projects/siphon/
MAINTAINER= Jason Peel <jsyn@nthought.com>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.gravitino.net/projects/siphon/ \
http://packetstorm.securify.com/UNIX/utilities/siphon/
MAKE_FLAGS= CC="${CC}" \
CFLAGS='${CFLAGS} -Wall -I. \
-DSYSCONFDIR="\"${SYSCONFDIR}\""' \
CCFLAGS='-pthread \
-DSYSCONFDIR="\"${SYSCONFDIR}\""'
MAKE_ENV= SYSCONFDIR="${SYSCONFDIR}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/siphon ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/siphon
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/siphon
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/siphon
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/siphon
${INSTALL_DATA} ${WRKSRC}/osprints.conf ${PREFIX}/share/examples/siphon
.include <bsd.port.mk>