From c5f372bd1f15911227722280ed0051b4786f06cb Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Fri, 24 Jan 1997 07:52:55 +0000 Subject: [PATCH] Use rpm2cpio for extracting. --- games/xgammon/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/games/xgammon/Makefile b/games/xgammon/Makefile index e25576dc4c4b..e1b990b5f7b8 100644 --- a/games/xgammon/Makefile +++ b/games/xgammon/Makefile @@ -3,7 +3,7 @@ # Date created: 02 January 1997 # Whom: Thomas Gellekum # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1997/01/03 08:15:44 tg Exp $ # DISTNAME= xgammon-0.98 @@ -15,6 +15,8 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= tg@FreeBSD.ORG +BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm + NO_WRKSUBDIR= yes USE_IMAKE= yes @@ -25,8 +27,7 @@ do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} .endif - @dd if=${_DISTDIR}${DISTFILES} bs=1706 skip=1 | gzip -cd | \ - (cd ${WRKDIR}; cpio -i) + @rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i) @tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR} pre-patch: