summaryrefslogtreecommitdiff
path: root/mail/pop3proxy/Makefile
blob: 1985a187d27a7d37d0025697ae3e93e62f574dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Martin Blapp
# $FreeBSD$

PORTNAME=	pop3proxy
PORTVERSION=	1.2
PORTREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://people.freebsd.org/~mbr/distfiles/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	POP3 Proxy Server derived from UP IMAP Proxy

GNU_CONFIGURE=	YES
USE_AUTOTOOLS=	autoconf213
USE_RC_SUBR=	pop3proxyd

SAMPLE_EXT=	sample

NO_STAGE=	yes
post-install:
	if [ ! -f ${PREFIX}/etc/pop3proxyd.conf ]; then \
		${INSTALL} -c ${WRKSRC}/pop3proxyd.conf ${PREFIX}/etc/pop3proxyd.conf ; \
	fi
	${INSTALL} -c ${WRKSRC}/pop3proxyd.conf ${PREFIX}/etc/pop3proxyd.conf.${SAMPLE_EXT} ;
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>