1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/games/xgammon/Makefile
1997-07-02 11:53:11 +00:00

40 lines
898 B
Makefile

# New ports collection makefile for: xgammon
# Version required: 0.98-7
# Date created: 02 January 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.2 1997/01/24 07:52:55 tg Exp $
#
DISTNAME= xgammon-0.98
CATEGORIES= games
MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/current/SRPMS/
EXTRACT_SUFX= -7.src.rpm
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.ORG
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm
NO_WRKSUBDIR= yes
USE_IMAKE= yes
PATCH_FILES= ${DISTNAME}-dirent.patch
do-extract:
.if !defined(NO_WRKDIR)
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
.endif
@rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i)
@tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
pre-patch:
@${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}"
@for file in ${PATCH_FILES}; do \
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/$$file; \
done
.include <bsd.port.mk>