46354e55bb
Fix a symbol conflict on SunOS. Bump PKGREVISION.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.53 2012/03/12 13:17:22 fhajny Exp $
|
|
|
|
DISTNAME= milter-greylist-4.2.7
|
|
PKGREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
OWNER= tron@NetBSD.org
|
|
HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
|
|
COMMENT= Easy-to-use greylist milter for sendmail
|
|
LICENSE= original-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# yacc rule moving to y.tab.c and renaming
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
GNU_CONFIGURE= YES
|
|
BUILD_TARGET= milter-greylist
|
|
|
|
USE_TOOLS= yacc lex
|
|
|
|
RCD_SCRIPTS= milter-greylist
|
|
|
|
.include "options.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-user=${MILTER_USER}
|
|
BUILD_DEFS+= MILTER_USER MILTER_GROUP VARBASE
|
|
FILES_SUBST+= MILTER_USER=${MILTER_USER:Q}
|
|
FILES_SUBST+= MILTER_GROUP=${MILTER_GROUP:Q}
|
|
|
|
INSTALLATION_DIRS+= share/doc/milter-greylist
|
|
INSTALLATION_DIRS+= share/examples/milter-greylist
|
|
|
|
OWN_DIRS_PERMS+= ${VARBASE}/milter-greylist ${MILTER_USER} ${MILTER_GROUP} 0755
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${DESTDIR}${PREFIX}/share/doc/milter-greylist
|
|
${INSTALL_DATA} ${WRKSRC}/greylist.conf \
|
|
${DESTDIR}${PREFIX}/share/examples/milter-greylist
|
|
|
|
.include "../../mail/libmilter/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|