diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 20:17:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 20:17:11 +0000 |
commit | d6ccf8cf664251c9f27f0424467fbf2bd95a5cc6 (patch) | |
tree | f10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/cyr-rfx-share | |
parent | 68013bbef21c9e93e6c34c2bbde20ba8a3d086e5 (diff) | |
download | pkgsrc-d6ccf8cf664251c9f27f0424467fbf2bd95a5cc6.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'fonts/cyr-rfx-share')
-rw-r--r-- | fonts/cyr-rfx-share/Makefile.common | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fonts/cyr-rfx-share/Makefile.common b/fonts/cyr-rfx-share/Makefile.common index 91fb9b2377d..67f700ae610 100644 --- a/fonts/cyr-rfx-share/Makefile.common +++ b/fonts/cyr-rfx-share/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.9 2008/01/22 13:33:35 obache Exp $ +# $NetBSD: Makefile.common,v 1.10 2008/03/03 20:17:11 jlam Exp $ DISTNAME= cyr-rfx-${CYR_RFX_ENCODING}-1.1 CATEGORIES= fonts x11 @@ -12,6 +12,8 @@ HOMEPAGE= http://www.inp.nsk.su/~bolkhov/files/fonts/cyr-rfx/00index.en.html COMMENT= Cyrillic X11 fonts in ${CYR_RFX_ENCODING} encoding DIST_SUBDIR= cyr-rfx +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= yes NO_CONFIGURE= yes @@ -26,6 +28,8 @@ REQD_DIRS+= ${PREFIX}/lib/X11/fonts/local/${CYR_RFX_ENCODING}/75dpi REQD_DIRS+= ${PREFIX}/lib/X11/fonts/local/${CYR_RFX_ENCODING}/misc do-install: - @cd ${PREFIX}/lib/X11/fonts/local && ${GTAR} xzf ${_DISTDIR}/${DISTFILES} ${CYR_RFX_ENCODING}/misc ${CYR_RFX_ENCODING}/75dpi + cd ${DESTDIR}${PREFIX}/lib/X11/fonts/local && \ + ${GTAR} xzf ${_DISTDIR}/${DISTFILES} \ + ${CYR_RFX_ENCODING}/misc ${CYR_RFX_ENCODING}/75dpi .include "../../mk/bsd.pkg.mk" |