1997-01-03 08:15:44 +00:00
|
|
|
# New ports collection makefile for: xgammon
|
|
|
|
# Date created: 02 January 1997
|
1999-08-03 06:33:43 +00:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-01-03 08:15:44 +00:00
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1997-01-03 08:15:44 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= xgammon
|
|
|
|
PORTVERSION= 0.98
|
1997-01-03 08:15:44 +00:00
|
|
|
CATEGORIES= games
|
2001-09-13 12:07:09 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_REDHAT}
|
|
|
|
MASTER_SITE_SUBDIR= linux/6.2/en/os/${MACHINE_ARCH}/SRPMS
|
2000-04-18 09:06:15 +00:00
|
|
|
EXTRACT_SUFX= -15.src.rpm
|
1997-01-03 08:15:44 +00:00
|
|
|
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
1999-08-03 06:33:43 +00:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A backgammon program for X11
|
1997-01-03 08:15:44 +00:00
|
|
|
|
2001-03-20 20:28:14 +00:00
|
|
|
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
|
1997-01-24 07:52:55 +00:00
|
|
|
|
1997-01-03 08:15:44 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_IMAKE= yes
|
1998-09-28 02:25:34 +00:00
|
|
|
MAN6= xgammon.6
|
1997-01-03 08:15:44 +00:00
|
|
|
|
2001-09-13 12:07:09 +00:00
|
|
|
PATCH_FILES= ${PORTNAME}-${PORTVERSION}-dirent.patch
|
1997-01-03 08:15:44 +00:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${RM} -rf ${WRKDIR}
|
|
|
|
@${MKDIR} ${WRKDIR}
|
1997-01-24 07:52:55 +00:00
|
|
|
@rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i)
|
1997-01-03 08:15:44 +00:00
|
|
|
@tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}"
|
2001-09-13 12:07:09 +00:00
|
|
|
.for file in ${PATCH_FILES}
|
|
|
|
@${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${file}
|
|
|
|
.endfor
|
1997-01-03 08:15:44 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|