c71ee02f2e
pending PR (related to stage) With hat: portmgr
36 lines
852 B
Makefile
36 lines
852 B
Makefile
# Created by: Sahil Tandon <sahil@tandon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= postpals
|
|
PORTVERSION= 0.01
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://mailfud.org/${PORTNAME}/
|
|
DISTFILES= ${PORTNAME} ${PORTNAME}-taillog
|
|
EXTRACT_ONLY= # none
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
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
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
NO_BUILD= yes
|
|
|
|
USERS= postpals
|
|
GROUPS= postpals
|
|
|
|
NO_STAGE= yes
|
|
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>
|