summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-17 17:21:18 +0000
committerabs <abs@pkgsrc.org>2009-12-17 17:21:18 +0000
commitf7c965af7cebcf8c407d6a342d6b45cf52c683e9 (patch)
tree933f34a0428a8bf18de19175119f64fd61d2f7d2 /fonts
parent5243803d3e547bd23413fe4f510f6916013d5986 (diff)
downloadpkgsrc-f7c965af7cebcf8c407d6a342d6b45cf52c683e9.tar.gz
PKG_DESTDIR_SUPPORT= user-destdir, plus add rpm2pkg to USE_TOOLS
Diffstat (limited to 'fonts')
-rw-r--r--fonts/sgi-fonts/Makefile11
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"