pkgsrc/mail/perdition/Makefile

22 lines
660 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2020/01/18 21:49:52 jperkin Exp $
PERDITION_COMMENT= main program
PKGREVISION= 5
.include "options.mk"
OWN_DIRS+= ${PKG_SYSCONFDIR}
.for f in Makefile.popmap perdition.conf popmap popmap.re
CONF_FILES+= ${EGDIR}/perdition/${f} ${PKG_SYSCONFDIR}/${f:.popmap=}
.endfor
RCD_SCRIPTS+= perdition.imap4 perdition.imap4s perdition.pop3 perdition.pop3s
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing paths.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= etc/perdition/perdition.conf
SUBST_SED.paths= -e "s|/usr/lib/|${PREFIX}/lib/|g"
SUBST_SED.paths+= -e "s|/etc/perdition/|${PKG_SYSCONFDIR}/|g"
.include "Makefile.common"