1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/games/xgammon/Makefile

41 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: xgammon
1999-05-25 12:23:16 +00:00
# Version required: 0.98-14
# Date created: 02 January 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $Id: Makefile,v 1.13 1999/05/25 12:23:11 tg Exp $
#
DISTNAME= xgammon-0.98
CATEGORIES= games
1998-11-09 08:16:25 +00:00
MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/current/SRPMS/SRPMS/ \
1999-05-25 12:23:16 +00:00
ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.redhat.com/redhat/current/SRPMS/SRPMS/ \
1999-05-04 08:50:04 +00:00
ftp://sunsite.Informatik.RWTH-Aachen.DE/pub/comp/Linux/redhat/current/SRPMS/SRPMS/
1999-05-25 12:23:16 +00:00
EXTRACT_SUFX= -14.src.rpm
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm2cpio
1997-01-24 07:52:55 +00:00
NO_WRKSUBDIR= yes
USE_IMAKE= yes
MAN6= xgammon.6
PATCH_FILES= ${DISTNAME}-dirent.patch
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
1997-01-24 07:52:55 +00:00
@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>