mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
37 lines
852 B
Makefile
37 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= sahil@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>
|