openbsd-ports/mail/clamnailer/Makefile
jasper 278e3cc0b0 Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.

ok aja@
2011-05-11 12:57:47 +00:00

36 lines
789 B
Makefile

# $OpenBSD: Makefile,v 1.4 2011/05/11 12:57:47 jasper Exp $
COMMENT= generate ScamNailer spear phishing database in ClamAV format
DISTNAME= ClamNailer-1.01
PKGNAME= ${DISTNAME:L}
REVISION= 0
EXTRACT_SUFX= .gz
CATEGORIES= mail security
HOMEPAGE= http://www.scamnailer.info/
# Public Domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.scamnailer.info/files/contrib/
NO_BUILD= Yes
NO_REGRESS= Yes
RUN_DEPENDS= security/clamav
WRKDIST= ${WRKDIR}
# fix MS-DOS line-endings, output to a file with non-version-dependent name
post-extract:
perl -pi -e 's/\r$$//' < ${WRKSRC}/${DISTNAME} > ${WRKSRC}/clamnailer
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/clamnailer ${PREFIX}/sbin
.include <bsd.port.mk>