summaryrefslogtreecommitdiffstats
path: root/mail/missey/Makefile
blob: 66efeabb84ef30e849698eb2000224fdd8be69a0 (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
29
30
31
32
33
# Created by: delphij@FreeBSD.org.cn
# $FreeBSD$

PORTNAME=	missey
PORTVERSION=	1.2.0
PORTREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://www.dengh.com/missey/
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/%SUBDIR%/delphij/}
DISTNAME=	mps.${PORTVERSION}

MAINTAINER=	delphij@FreeBSD.org
COMMENT=	Secure small and high performance POP3 server

USE_BZIP2=	yes

MAKE_ENV+=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" \
		INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
		INSTALL_DATA="${INSTALL_DATA}" MKDIR="${MKDIR}" WRKSRC="${WRKSRC}"

PLIST_FILES=	sbin/bent sbin/mps etc/mps/pop3d.conf-dist
PLIST_DIRS=	etc/mps

USE_RC_SUBR=	mps

post-extract:
	@${MV} ${WRKDIR}/mps/src ${WRKSRC}
	@${RM} -r ${WRKDIR}/mps

post-patch:
	@${CP}	${FILESDIR}/Makefile ${WRKSRC}/Makefile

.include <bsd.port.mk>
OpenPOWER on IntegriCloud