pkgsrc/mail/popa3d/Makefile
rillig 9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00

45 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.56 2020/01/26 17:31:35 rillig Exp $
#
DISTNAME= popa3d-1.0.3
CATEGORIES= mail
MASTER_SITES= http://www.openwall.com/popa3d/
MASTER_SITES+= ftp://ftp.openwall.com/pub/projects/popa3d/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.openwall.com/popa3d/
COMMENT= Secure, reliable, performant, and small pop3 server
POPA3D_USER?= popa3d
POPA3D_GROUP?= popa3d
PKG_GROUPS= ${POPA3D_GROUP}
PKG_USERS= ${POPA3D_USER}:${POPA3D_GROUP}
PKG_GROUPS_VARS+= POPA3D_GROUP
PKG_USERS_VARS+= POPA3D_USER
RCD_SCRIPTS= popa3d
FILES_SUBST+= POPA3D_USER=${POPA3D_USER:Q}
FILES_SUBST+= POPA3D_GROUP=${POPA3D_GROUP:Q}
SUBST_CLASSES+= params
SUBST_STAGE.params= pre-configure
SUBST_FILES.params= params.h
SUBST_SED.params= -e 's,/var/empty,${PREFIX}/share/empty,'
SUBST_SED.params+= -e 's,@@POPA3D_USER@@,"${POPA3D_USER}",'
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
do-install:
${INSTALL_PROGRAM} -m 500 ${WRKSRC}/popa3d ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/popa3d.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/popa3d
cd ${WRKSRC} && ${INSTALL_DATA} DESIGN INSTALL LICENSE \
${DESTDIR}${PREFIX}/share/doc/popa3d
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/empty
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"