39 lines
979 B
Makefile
39 lines
979 B
Makefile
# $OpenBSD: Makefile,v 1.3 2006/11/22 22:26:31 jakob Exp $
|
|
|
|
COMMENT= "greylist milter"
|
|
|
|
DISTNAME= milter-greylist-3.0
|
|
PKGNAME= ${DISTNAME}
|
|
CATEGORIES= mail
|
|
HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
|
|
|
|
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
# BSD license
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c pthread milter
|
|
|
|
BUILD_DEPENDS= ::devel/bison
|
|
|
|
USERNAME= _milter-greylist
|
|
EXAMPLESDIR= share/examples/milter-greylist
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-user=${USERNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/milter-greylist ${PREFIX}/libexec
|
|
${INSTALL_MAN} ${WRKSRC}/milter-greylist.8 ${PREFIX}/man/man8
|
|
${INSTALL_MAN} ${WRKSRC}/greylist.conf.5 ${PREFIX}/man/man5
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/greylist.conf ${PREFIX}/${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|