0446b0862f
to avoid accidently sharing options.mk between poppassd and qpopper. No functional change to qpopper pkgsrc itself.
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.51 2005/06/13 16:53:47 taca 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} \
|
|
--enable-popuid=${QPOPPER_USER} \
|
|
--disable-update-abort --without-gdbm
|
|
|
|
.include "options.mk"
|
|
|
|
QPOPPER_USER?= pop
|
|
QPOPPER_GROUP?= mail
|
|
QPOPPER_APOP_AUTH?= ${PKG_SYSCONFDIR}/apop.auth
|
|
DB_SUFFIX?= db
|
|
|
|
.if defined(QPOPPER_SPOOL_DIR)
|
|
CONFIGURE_ARGS+= --enable-spool-dir=${QPOPPER_SPOOL_DIR}
|
|
.endif
|
|
|
|
USE_PKGINSTALL= yes
|
|
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}
|
|
|
|
pre-build:
|
|
${SED} -e "s|/usr/local/lib|${PREFIX}/libexec|g" \
|
|
${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 \
|
|
${PREFIX}/share/doc/qpopper.License
|
|
${INSTALL_DATA} ${WRKSRC}/samples/qpopper.config \
|
|
${PREFIX}/share/examples
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|