diff options
author | obache <obache> | 2012-06-14 11:17:24 +0000 |
---|---|---|
committer | obache <obache> | 2012-06-14 11:17:24 +0000 |
commit | 74bf76097e10415b7b40a927e08a05c4ea275a3e (patch) | |
tree | 94f013b0bcdf4aac15747428f392a002fe80b494 /fonts/chkfontpath | |
parent | eee5537892404030acba7aae29ef675938404841 (diff) | |
download | pkgsrc-74bf76097e10415b7b40a927e08a05c4ea275a3e.tar.gz |
Use pkgsrc extract features instead of own do-extract target.
Diffstat (limited to 'fonts/chkfontpath')
-rw-r--r-- | fonts/chkfontpath/Makefile | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/fonts/chkfontpath/Makefile b/fonts/chkfontpath/Makefile index bca772d1bc1..d2902558b36 100644 --- a/fonts/chkfontpath/Makefile +++ b/fonts/chkfontpath/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2012/06/14 09:59:12 jperkin Exp $ +# $NetBSD: Makefile,v 1.21 2012/06/14 11:17:24 obache Exp $ # DISTNAME= chkfontpath-1.9.7 @@ -10,29 +10,15 @@ EXTRACT_SUFX= -1.src.rpm MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Command line tool to manage X server's font path -BUILD_DEPENDS+= rpm2cpio>=1.1:../../converters/rpm2cpio - PKG_DESTDIR_SUPPORT= user-destdir MAKE_ENV+= VERSION=${PKGVERSION:Q} -USE_TOOLS+= gmake gtar pax +USE_TOOLS+= gmake tar gzcat INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 -.include "../../mk/bsd.prefs.mk" - -# Native Solaris pax cannot handle cpio archives produced by rpm2cpio.pl, cpio -# can but it is not a tool. -.if ${OPSYS} == "SunOS" -TOOLS_PLATFORM.pax= -.endif - -# Might as well make this a general scheme for .src.rpm files... - HF -do-extract: - cd ${WRKDIR} ; \ - ${PREFIX}/bin/rpm2cpio.pl ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ - | pax -r ; \ - ${GTAR} zxf ${DISTNAME}.tar.gz +post-extract: + ${RUN}cd ${WRKDIR};${EXTRACTOR} ${DISTNAME}.tar.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/chkfontpath ${DESTDIR}${PREFIX}/bin |