blob: 52750e96e92c73470227f6310c73a1dce9cb570e (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# $NetBSD: Makefile,v 1.58 2007/03/24 19:21:27 joerg Exp $
#
DISTNAME= qpopper${VERSION}
PKGNAME= qpopper-${VERSION}
CATEGORIES= mail
MASTER_SITES= ${QPOPPER_MASTER_SITES}
PATCH_SITES= ${QPOPPER_PATCHSITES}
PATCHFILES= ${QPOPPER_PATCHFILES}
PATCH_DIST_STRIP= -p1
MAINTAINER= mellon@fugue.com
HOMEPAGE= ${QPOPPER_HOMEPAGE}
COMMENT= Qualcomm's POP server for Eudora
.include "Makefile.common"
CONFIGURE_ARGS+= --enable-apop=${QPOPPER_APOP_AUTH:Q} \
--enable-popuid=${QPOPPER_USER:Q} \
--disable-update-abort --without-gdbm
.include "options.mk"
QPOPPER_USER?= pop
QPOPPER_GROUP?= mail
QPOPPER_APOP_AUTH?= ${PKG_SYSCONFDIR}/apop.auth
BUILD_DEFS+= QPOPPER_USER QPOPPER_GROUP
BUILD_DEFS+= QPOPPER_APOP_AUTH
.if defined(QPOPPER_SPOOL_DIR)
CONFIGURE_ARGS+= --enable-spool-dir=${QPOPPER_SPOOL_DIR:Q}
.endif
RCD_SCRIPTS= qpopper
MESSAGE_SUBST+= RCD_SCRIPTS=${RCD_SCRIPTS} \
RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR}
PKG_USERS?= ${QPOPPER_USER}:${QPOPPER_GROUP}
MAKE_ENV+= BINGRP=${BINGRP:Q}
SUBST_CLASSES+= root
SUBST_STAGE.root= pre-configure
SUBST_FILES.root= Makefile.in */Makefile.in
SUBST_SED.root= -e 's,-o root,-o ${ROOT_USER},g'
SUBST_CLASSES+= libexec
SUBST_STAGE.libexec= pre-configure
SUBST_FILES.libexec= man/popper.8
SUBST_SED.libexec= -e "s|/usr/local/lib|${PREFIX}/libexec|g"
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 sbin share/doc share/exmaples
post-install:
${INSTALL_DATA} ${WRKSRC}/License.txt \
${PREFIX}/share/doc/qpopper.License
${INSTALL_DATA} ${WRKSRC}/samples/qpopper.config \
${PREFIX}/share/examples
.include "../../mk/bsd.pkg.mk"
|