2007-09-15 19:29:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2007/09/15 23:30:01 merdely Exp $
|
2003-04-19 16:31:55 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= Remote SMTP Server Detection
|
2003-04-19 16:31:55 -04:00
|
|
|
|
2003-05-06 04:51:14 -04:00
|
|
|
VERSION= 0.5
|
2003-04-19 16:31:55 -04:00
|
|
|
DISTNAME= smtpscan-${VERSION}
|
2007-03-15 07:30:07 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2003-04-19 16:31:55 -04:00
|
|
|
CATEGORIES= security net mail
|
|
|
|
|
2003-04-20 12:04:58 -04:00
|
|
|
HOMEPAGE= http://www.greyhats.org/outils/smtpscan/
|
2003-04-19 16:31:55 -04:00
|
|
|
|
|
|
|
# GPL2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.greyhats.org/outils/smtpscan/ \
|
|
|
|
${MASTER_SITE_PACKETSTORM:=UNIX/scanners/}
|
|
|
|
|
2004-06-26 03:35:05 -04:00
|
|
|
RUN_DEPENDS= :p5-Net-DNS-*:net/p5-Net-DNS
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2003-04-19 16:31:55 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
2004-02-01 15:34:21 -05:00
|
|
|
PKG_ARCH= *
|
2003-04-19 16:31:55 -04:00
|
|
|
WRKDIST= ${WRKDIR}/smtpscan
|
|
|
|
|
2003-04-20 12:04:58 -04:00
|
|
|
do-install:
|
|
|
|
@perl -pi -e 's|/usr/local|${TRUEPREFIX}|g' ${WRKSRC}/src/smtpscan
|
|
|
|
@perl -pi -e 's|\@prefix\@|${TRUEPREFIX}/share|g' \
|
2003-04-19 16:31:55 -04:00
|
|
|
${WRKSRC}/docs/man/smtpscan.1
|
|
|
|
@perl -pi -e 's|\@VERSION\@|${VERSION}|g' ${WRKSRC}/src/smtpscan \
|
|
|
|
${WRKSRC}/docs/man/smtpscan.1
|
2003-04-20 12:04:58 -04:00
|
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/bin
|
2003-04-19 16:31:55 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/smtpscan ${PREFIX}/bin
|
2003-04-20 12:04:58 -04:00
|
|
|
${INSTALL_MAN_DIR} ${PREFIX}/man/man1
|
2003-04-19 16:31:55 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/man/smtpscan.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/smtpscan
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/fingerprints ${PREFIX}/share/smtpscan
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/tests ${PREFIX}/share/smtpscan
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|