summaryrefslogtreecommitdiff
path: root/mail/qpopper/Makefile
blob: a0d06400f1e7ddc98fa1de47cc121dca913e9b36 (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
34
35
# $NetBSD: Makefile,v 1.32 2002/05/03 15:09:51 taca Exp $
#

DISTNAME=		qpopper${VERSION}
PKGNAME=		qpopper-${VERSION}
CATEGORIES=		mail
MASTER_SITES=		ftp://ftp.qualcomm.com/eudora/servers/unix/popper/

PATCH_SITES=		http://www.imasy.or.jp/~ume/ipv6/
PATCHFILES=		qpopper4.0.4-ipv6-20020502.diff.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=		mellon@fugue.com
HOMEPAGE=		http://www.eudora.com/qpopper/
COMMENT=		Qualcomm's POP server for Eudora

USE_BUILDLINK_ONLY=	# defined

.include "Makefile.common"

PKG_USERS?=		${QPOPPER_USER}

pre-build:
	${SED} 's"/usr/local/lib"${LOCALBASE}/libexec"' \
		${WRKSRC}/man/popper.8 > ${WRKSRC}/man/popper.8.$$ && \
	${MV} -f ${WRKSRC}/man/popper.8.$$ ${WRKSRC}/man/popper.8

post-install:
	${INSTALL_DATA} ${WRKSRC}/License.txt ${LOCALBASE}/share/doc/qpopper.License
	${INSTALL_DATA} ${WRKSRC}/samples/qpopper.config \
		 ${LOCALBASE}/share/examples

.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"