summaryrefslogtreecommitdiff
path: root/mail/postgrey/Makefile
diff options
context:
space:
mode:
authorcvs <cvs@pkgsrc.org>2007-03-23 19:00:19 +0000
committercvs <cvs@pkgsrc.org>2007-03-23 19:00:19 +0000
commitda1b24d6fdfe442753c8272da5432c8fcaa1f43c (patch)
tree8c7c348db30abadfdc6b77822405d9ffe7b79103 /mail/postgrey/Makefile
parentda5bb3f20f33565c1db65018aabd8cf59023cfef (diff)
downloadpkgsrc-jlam-pkgviews.tar.gz
Creating branch jlam-pkgviewsjlam-pkgviews
Diffstat (limited to 'mail/postgrey/Makefile')
-rw-r--r--mail/postgrey/Makefile82
1 files changed, 0 insertions, 82 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
deleted file mode 100644
index 9565688b6d4..00000000000
--- a/mail/postgrey/Makefile
+++ /dev/null
@@ -1,82 +0,0 @@
-# $NetBSD: Makefile,v 1.16 2006/06/18 01:04:04 rillig Exp $
-#
-
-DISTNAME= postgrey-1.24
-CATEGORIES= mail
-MASTER_SITES= http://isg.ee.ethz.ch/tools/postgrey/pub/ \
- http://isg.ee.ethz.ch/tools/postgrey/pub/old/
-
-MAINTAINER= kim@tac.nyc.ny.us
-HOMEPAGE= http://isg.ee.ethz.ch/tools/postgrey/
-COMMENT= Postfix Greylist Policy Server
-
-DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB
-DEPENDS+= p5-IO-Multiplex-[0-9]*:../../devel/p5-IO-Multiplex
-DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server
-
-NO_CONFIGURE= yes
-USE_TOOLS+= perl:run
-
-.include "../../mk/bsd.prefs.mk"
-
-POSTGREY_USER?= postgrey
-POSTGREY_GROUP?= postgrey
-POSTGREY_DBDIR?= ${VARBASE}/db/${PKGBASE}
-
-PKG_SYSCONFSUBDIR?= postfix
-
-DOCDIR= share/doc/${PKGBASE}
-EGDIR= share/examples/${PKGBASE}
-
-RCD_SCRIPTS= postgrey
-PKG_GROUPS= ${POSTGREY_GROUP}
-PKG_USERS= ${POSTGREY_USER}:${POSTGREY_GROUP}
-
-PKG_GECOS.${POSTGREY_USER}= Postgrey Daemon User
-
-.for i in postgrey_whitelist_clients postgrey_whitelist_recipients
-CONF_FILES+= ${PREFIX}/${EGDIR}/${i} \
- ${PKG_SYSCONFDIR}/${i}
-.endfor
-
-OWN_DIRS_PERMS+= ${POSTGREY_DBDIR} \
- ${POSTGREY_USER} ${POSTGREY_GROUP} 0775
-
-FILES_SUBST+= PERL=${PERL5:Q}
-
-SUBST_CLASSES+= postgrey
-SUBST_STAGE.postgrey= pre-build
-SUBST_FILES.postgrey= postgrey
-# Perl
-SUBST_SED.postgrey= -e 's,/usr/bin/perl,${PERL5},g'
-# User
-SUBST_SED.postgrey+= -e "s,|| 'postgrey',|| '${POSTGREY_USER}',g"
-SUBST_SED.postgrey+= -e "s,default: postgrey,default: ${POSTGREY_USER},g"
-SUBST_SED.postgrey+= -e "s,C<postgrey>,C<${POSTGREY_USER}>,g"
-# Group
-SUBST_SED.postgrey+= -e "s,|| 'nogroup',|| '${POSTGREY_GROUP}',g"
-SUBST_SED.postgrey+= -e "s,default: nogroup,default: ${POSTGREY_GROUP},g"
-# Database
-SUBST_SED.postgrey+= -e 's,/var/spool/postfix/postgrey,${POSTGREY_DBDIR},g'
-# Config
-SUBST_SED.postgrey+= -e 's,/etc/postfix,${PKG_SYSCONFDIR},g'
-#
-SUBST_MESSAGE.postgrey= Fixing defaults.
-
-INSTALLATION_DIRS= sbin
-
-do-build:
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/sbin/postgrey
- ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
-.for i in COPYING Changes README
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}/${i}
-.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/${EGDIR}
-.for i in postgrey_whitelist_clients postgrey_whitelist_recipients
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${EGDIR}/${i}
-.endfor
-
-.include "../../databases/db4/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"