2013-09-20 19:59:12 +00:00
|
|
|
# Created by: Sahil Tandon <sahil@tandon.net>
|
2010-04-03 09:43:50 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= postpals
|
|
|
|
PORTVERSION= 0.01
|
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://mailfud.org/${PORTNAME}/
|
|
|
|
DISTFILES= ${PORTNAME} ${PORTNAME}-taillog
|
|
|
|
EXTRACT_ONLY= # none
|
|
|
|
|
2010-07-29 02:58:44 +00:00
|
|
|
MAINTAINER= sahil@FreeBSD.org
|
2010-04-03 09:43:50 +00:00
|
|
|
COMMENT= Postpals is a simple policy daemon for Postfix
|
|
|
|
|
|
|
|
RUN_DEPENDS= p5-IO-Multiplex>=0:${PORTSDIR}/devel/p5-IO-Multiplex \
|
|
|
|
p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \
|
|
|
|
p5-File-Tail>=0:${PORTSDIR}/devel/p5-File-Tail
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
USE_RC_SUBR= ${PORTNAME} ${PORTNAME}-taillog
|
2013-09-04 12:28:16 +00:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= run
|
2010-04-03 09:43:50 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
USERS= postpals
|
|
|
|
GROUPS= postpals
|
|
|
|
|
2013-09-20 19:59:12 +00:00
|
|
|
NO_STAGE= yes
|
2010-04-03 09:43:50 +00:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_SCRIPT} ${DISTFILES:S|^|${DISTDIR}/|} ${PREFIX}/sbin/
|
|
|
|
@${INSTALL} -o ${PORTNAME} -g ${PORTNAME} -m 700 -d /var/db/postpals
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|