diff options
author | jlam <jlam> | 2008-03-03 20:17:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 20:17:11 +0000 |
commit | 93da8714c36decac2f91167d5510d069789597e2 (patch) | |
tree | f10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/cyr-rfx-share | |
parent | 4c466bc0cfc7d41864f907ac04383df82c492609 (diff) | |
download | pkgsrc-93da8714c36decac2f91167d5510d069789597e2.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" |