blob: 4118520b2937c03a6ec0a1bdfe3253a42e6e7089 (
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
|
# $NetBSD: Makefile,v 1.27 2012/03/22 14:15:32 taca Exp $
#
DISTNAME= qpopper${VERSION}
PKGNAME= poppassd-${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 password change server mainly for Eudora
PKG_DESTDIR_SUPPORT= user-destdir
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= man/poppassd.8 password/poppassd.c
SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g"
.include "../../mail/qpopper/Makefile.common"
CONFIGURE_ARGS+= --enable-poppassd --without-pam
CONFIGURE_ENV+= CDEFS='-DSMBPASSWD_BINARY=\"${LOCALBASE}/bin/smbpasswd\"'
MAKE_ENV+= ROOT_USER=${ROOT_USER:Q} ROOT_GROUP=${ROOT_GROUP:Q}
.include "options.mk"
SPECIAL_PERMS+= libexec/poppassd ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 4755
INSTALLATION_DIRS= ${PKGMANDIR}/man8 share/doc libexec
# popper makefile doesn't have an install target...
INSTALL_DIRS= password
BUILD_DIRS= common password
post-install:
${INSTALL_MAN} ${WRKSRC}/man/poppassd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
${INSTALL_DATA} ${WRKSRC}/License.txt \
${DESTDIR}${PREFIX}/share/doc/poppassd.License;
.include "../../mk/bsd.pkg.mk"
|