2009-04-02 20:34:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.42 2009/04/02 18:34:17 tron Exp $
|
2004-03-04 15:47:56 +01:00
|
|
|
|
2009-04-02 20:34:17 +02:00
|
|
|
DISTNAME= milter-greylist-4.2
|
2004-03-04 15:47:56 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-05-25 22:49:39 +02:00
|
|
|
OWNER= tron@NetBSD.org
|
2004-03-25 17:57:48 +01:00
|
|
|
HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
|
|
|
|
COMMENT= Easy-to-use greylist milter for sendmail
|
2004-03-04 15:47:56 +01:00
|
|
|
|
2009-01-19 07:16:38 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2008-10-04 01:22:50 +02:00
|
|
|
# yacc rule moving to y.tab.c and renaming
|
|
|
|
MAKE_JOBS_SAFE= no
|
2004-03-04 15:47:56 +01:00
|
|
|
|
2006-10-12 15:14:43 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
BUILD_TARGET= milter-greylist
|
2004-03-04 15:47:56 +01:00
|
|
|
|
2009-03-08 16:54:26 +01:00
|
|
|
RCD_SCRIPTS= milter-greylist
|
2004-04-12 15:55:59 +02:00
|
|
|
|
2006-10-12 15:14:43 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2009-03-08 16:54:26 +01:00
|
|
|
CONFIGURE_ARGS+= --with-user=${MILTER_USER}
|
|
|
|
BUILD_DEFS+= MILTER_USER
|
|
|
|
FILES_SUBST+= MILTER_USER=${MILTER_USER:Q}
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= share/doc/milter-greylist
|
|
|
|
INSTALLATION_DIRS+= share/examples/milter-greylist
|
|
|
|
|
2004-04-12 15:55:59 +02:00
|
|
|
post-install:
|
2009-03-08 16:54:26 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/milter-greylist
|
2004-04-12 15:55:59 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/greylist.conf \
|
2009-01-19 07:16:38 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/milter-greylist
|
2004-03-04 15:47:56 +01:00
|
|
|
|
2004-04-15 22:31:36 +02:00
|
|
|
.include "../../mail/libmilter/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-03-04 15:47:56 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|