3d8ef5a52d
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
34 lines
970 B
Makefile
34 lines
970 B
Makefile
# $NetBSD: Makefile,v 1.18 2008/05/26 02:13:18 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= chkfontpath-1.9.7
|
|
PKGREVISION= 3
|
|
CATEGORIES= fonts
|
|
MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/SRPMS/
|
|
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
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
|
|
|
|
# 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
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/chkfontpath ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/en/chkfontpath.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
|
|
|
.include "../../devel/popt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|