pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/qmail-lint Express post-patch using subst.mk inst...
details: https://anonhg.NetBSD.org/pkgsrc/rev/36215d5e307a
branches: trunk
changeset: 478343:36215d5e307a
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Thu Jul 22 00:06:40 2004 +0000
description:
Express post-patch using subst.mk instead. Shorten COMMENT. Take
MAINTAINER.
diffstat:
mail/qmail-lint/Makefile | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (36 lines):
diff -r 95eea6a83982 -r 36215d5e307a mail/qmail-lint/Makefile
--- a/mail/qmail-lint/Makefile Thu Jul 22 00:01:52 2004 +0000
+++ b/mail/qmail-lint/Makefile Thu Jul 22 00:06:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/01/20 12:19:44 agc Exp $
+# $NetBSD: Makefile,v 1.7 2004/07/22 00:06:40 schmonz Exp $
#
DISTNAME= qmail-lint-0.55
@@ -7,9 +7,9 @@
MASTER_SITES= http://qmail.obeer.com/
EXTRACT_SUFX= #
-MAINTAINER= zuntum%NetBSD.org@localhost
+MAINTAINER= schmonz%NetBSD.org@localhost
HOMEPAGE= http://www.qmail.org/
-COMMENT= Examine the qmail configuration to see if any common errors exist
+COMMENT= Examine the qmail configuration for common errors
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}
@@ -18,10 +18,10 @@
REPLACE_PERL= ${DISTNAME}
NO_BUILD= yes
-post-patch:
- ${SED} "s,/var/qmail,${QMAILDIR}," ${WRKSRC}/${DISTNAME} \
- > ${WRKSRC}/${DISTNAME}.done
- ${MV} ${WRKSRC}/${DISTNAME}.done ${WRKSRC}/${DISTNAME}
+SUBST_CLASSES+= qmaildir
+SUBST_STAGE.qmaildir= do-configure
+SUBST_FILES.qmaildir= ${DISTNAME}
+SUBST_SED.qmaildir= -e 's|/var/qmail|${QMAILDIR}|g'
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/qmail-lint
Home |
Main Index |
Thread Index |
Old Index