pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/pine-pgp-filters Substitute ${PREFIX} for /usr/lo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a093c4677d1
branches: trunk
changeset: 488568:9a093c4677d1
user: abs <abs%pkgsrc.org@localhost>
date: Fri Feb 04 10:32:30 2005 +0000
description:
Substitute ${PREFIX} for /usr/local in installed docs
bump to pine-pgp-filters-1.1nb1
diffstat:
mail/pine-pgp-filters/Makefile | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 8463180dcee2 -r 9a093c4677d1 mail/pine-pgp-filters/Makefile
--- a/mail/pine-pgp-filters/Makefile Fri Feb 04 09:57:12 2005 +0000
+++ b/mail/pine-pgp-filters/Makefile Fri Feb 04 10:32:30 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/06/05 21:42:36 reed Exp $
+# $NetBSD: Makefile,v 1.2 2005/02/04 10:32:30 abs Exp $
#
DISTNAME= pine-pgp-filters-1.1
+PKGREVISION= 1
CATEGORIES= security mail
MASTER_SITES= http://dougbarton.net/FreeBSD/Downloads/
@@ -11,12 +12,19 @@
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
-NO_BUILD= yes
+
+DOCDIR= ${PREFIX}/share/doc/pine-pgp-filters
+DOCFILES= BUGS CHANGES INSTALL LICENSE README
+
+do-build:
+.for f in ${DOCFILES}
+ ${SED} 's:/usr/local:${PREFIX}:g' ${WRKSRC}/${f} > ${WRKSRC}/${f}.gen
+.endfor
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pine-pgp-filters
-.for f in BUGS CHANGES INSTALL LICENSE README
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/pine-pgp-filters/
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+.for f in ${DOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${f}.gen ${DOCDIR}/${f}
.endfor
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index