pkgsrc/mail/qmail-qfilter/Makefile
schmonz 277ca505b8 Pass the runtime path to bglibs to the linker, now that they're dynamic.
Bump PKGREVISION since qmail-qfilter was building but failed to run.
2006-08-02 02:36:17 +00:00

46 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2006/08/02 02:36:17 schmonz Exp $
#
DISTNAME= qmail-qfilter-2.1
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://untroubled.org/qmail-qfilter/
COMMENT= Multi-filter front end for qmail-queue
DEPENDS+= qmail>=1.03nb9:../../mail/qmail
PKG_INSTALLATION_TYPES= overwrite pkgviews
OWN_DIRS_PERMS+= ${QMAIL_QFILTER_TMPDIR} qmaild ${ROOT_GROUP} 700
REPLACE_PERL= samples/block-long-dates \
samples/deny-filetypes \
samples/rename-filetypes
SUBST_CLASSES+= paths
SUBST_STAGE.paths= do-configure
SUBST_FILES.paths= qmail-qfilter.c
SUBST_SED.paths= -e 's|/tmp|${QMAIL_QFILTER_TMPDIR}|g'
SUBST_SED.paths+= -e 's|/var/qmail|${QMAILDIR}|g'
SUBST_MESSAGE.paths= Fixing paths.
INSTALLATION_DIRS= bin man man/man1 share/examples/qmail-qfilter
DJB_RESTRICTED= NO
DJB_MAKE_TARGETS= NO
.include "../../mk/bsd.prefs.mk"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qmail-qfilter
for i in ${REPLACE_PERL}; do \
${INSTALL_SCRIPT} ${WRKSRC}/$${i} \
${PREFIX}/share/examples/qmail-qfilter; \
done
.include "../../devel/bglibs/buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"