diff options
author | joerg <joerg> | 2009-07-07 21:38:04 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 21:38:04 +0000 |
commit | 8c720ea674ffab5064b2c2bac37cbad0954aa05f (patch) | |
tree | d41de179e2d4e91238dfa4017678359ecedb530a | |
parent | 616a057a51d83ffeccf17b5b99725f9288c1ceb7 (diff) | |
download | pkgsrc-8c720ea674ffab5064b2c2bac37cbad0954aa05f.tar.gz |
user-destdir support
-rw-r--r-- | textproc/ja-sed/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/textproc/ja-sed/Makefile b/textproc/ja-sed/Makefile index 23c7309611d..16a070234b8 100644 --- a/textproc/ja-sed/Makefile +++ b/textproc/ja-sed/Makefile @@ -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 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org 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 @@ GNU_CONFIGURE= yes 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" |