diff options
author | abs <abs@pkgsrc.org> | 2009-12-17 17:21:18 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-12-17 17:21:18 +0000 |
commit | f7c965af7cebcf8c407d6a342d6b45cf52c683e9 (patch) | |
tree | 933f34a0428a8bf18de19175119f64fd61d2f7d2 /fonts | |
parent | 5243803d3e547bd23413fe4f510f6916013d5986 (diff) | |
download | pkgsrc-f7c965af7cebcf8c407d6a342d6b45cf52c683e9.tar.gz |
PKG_DESTDIR_SUPPORT= user-destdir, plus add rpm2pkg to USE_TOOLS
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/sgi-fonts/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/fonts/sgi-fonts/Makefile b/fonts/sgi-fonts/Makefile index dcde58b666a..0b4837f0879 100644 --- a/fonts/sgi-fonts/Makefile +++ b/fonts/sgi-fonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/01/22 17:09:55 tnn Exp $ +# $NetBSD: Makefile,v 1.13 2009/12/17 17:21:18 abs Exp $ # DISTNAME= sgi-fonts-1.0-457.src @@ -12,20 +12,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://oss.sgi.com/projects/sgi_propack/ COMMENT= Linux compatibility package for SGI fonts -BUILD_DEPENDS+= rpm2pkg>=1.3:../../pkgtools/rpm2pkg - WRKSRC= ${WRKDIR}/sgi-fonts +PKG_DESTDIR_SUPPORT= user-destdir USE_IMAKE= YES -USE_TOOLS+= bdftopcf bzcat gtar gzip +USE_TOOLS+= bdftopcf bzcat gtar gzip rpm2pkg FONTS_DIRS.x11+= ${PREFIX}/lib/X11/fonts/misc/sgi REQD_DIRS+= ${PREFIX}/lib/X11/fonts/misc/sgi do-extract: - ${LOCALBASE}/sbin/rpm2pkg -d ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + rpm2pkg -d ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} cd ${WRKDIR} && bzcat sgi-fonts.tar.bz2 | ${GTAR} xf - post-install: - ${RM} ${PREFIX}/lib/X11/fonts/misc/sgi/fonts.scale + ${RM} ${DESTDIR}${PREFIX}/lib/X11/fonts/misc/sgi/fonts.scale .include "../../mk/bsd.pkg.mk" |