pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ja-sed user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/bfad2bcabc6b
branches: trunk
changeset: 561223:bfad2bcabc6b
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 21:38:04 2009 +0000
description:
user-destdir support
diffstat:
textproc/ja-sed/Makefile | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 1d6bf936c763 -r bfad2bcabc6b textproc/ja-sed/Makefile
--- a/textproc/ja-sed/Makefile Tue Jul 07 21:36:55 2009 +0000
+++ b/textproc/ja-sed/Makefile Tue Jul 07 21:38:04 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/04/07 19:54:17 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2009/07/07 21:38:04 joerg Exp $
DISTNAME= sed-3.02
PKGNAME= ja-sed-3.02
@@ -14,6 +14,8 @@
HOMEPAGE= http://www.gnu.org/software/sed/sed.html
COMMENT= GNU sed + multi-byte extension
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= gsed-[0-9]*
USE_TOOLS+= gmake
@@ -21,9 +23,10 @@
CONFIGURE_ARGS+= --program-transform-name='s,^,j,'
INFO_FILES= # PLIST
+INSTALLATION_DIRS= share/doc/ja-sed
+
post-install:
- @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ja-sed
- @${INSTALL_DATA} ${WRKSRC}/OREADME.MB ${PREFIX}/share/doc/ja-sed
- @${INSTALL_DATA} ${WRKSRC}/README.MB ${PREFIX}/share/doc/ja-sed
+ @${INSTALL_DATA} ${WRKSRC}/OREADME.MB ${DESTDIR}${PREFIX}/share/doc/ja-sed
+ @${INSTALL_DATA} ${WRKSRC}/README.MB ${DESTDIR}${PREFIX}/share/doc/ja-sed
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index