1ec59ed085
pkginstall framework. In the case of libtool-base, avoid using FILES_SUBST_SED where it isn't needed.
23 lines
644 B
Makefile
23 lines
644 B
Makefile
# $NetBSD: Makefile,v 1.7 2006/03/14 20:43:23 jlam Exp $
|
|
#
|
|
|
|
PKGREVISION= 5
|
|
|
|
PERDITION_COMMENT= main program
|
|
|
|
.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_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= etc/perdition/perdition.conf
|
|
SUBST_SED.paths= -e "s|/usr/lib/|${PREFIX}/lib/|g" \
|
|
-e "s|/etc/perdition/|${PKG_SYSCONFDIR}/|g"
|
|
SUBST_MESSAGE.paths= Fixing paths.
|
|
|
|
.include "Makefile.common"
|