278e3cc0b0
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@
31 lines
724 B
Makefile
31 lines
724 B
Makefile
# $OpenBSD: Makefile,v 1.16 2011/05/11 12:57:48 jasper Exp $
|
|
|
|
COMMENT= sendmail milter plugin for SpamAssassin spamd
|
|
|
|
DISTNAME= milter-spamd-0.5
|
|
REVISION = 5
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.benzedrine.cx/
|
|
|
|
HOMEPAGE= http://www.benzedrine.cx/milter-spamd.html
|
|
|
|
MAINTAINER= Daniel Hartmeier <dhartmei@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c pthread milter
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-configure:
|
|
@perl -pi -e 's,/etc/mi,${SYSCONFDIR}/mi,g' ${WRKSRC}/milter-spamd.{8,c}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/milter-spamd ${PREFIX}/libexec
|
|
${INSTALL_MAN} ${WRKSRC}/milter-spamd.8 ${PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|