1997-01-03 08:15:44 +00:00
|
|
|
# New ports collection makefile for: xgammon
|
1998-06-17 07:17:41 +00:00
|
|
|
# Version required: 0.98-11
|
1997-01-03 08:15:44 +00:00
|
|
|
# Date created: 02 January 1997
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
|
|
|
#
|
1998-11-09 08:16:25 +00:00
|
|
|
# $Id: Makefile,v 1.8 1998/10/28 12:09:43 tg Exp $
|
1997-01-03 08:15:44 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
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/ \
|
|
|
|
ftp://ftp.gwdg.de/pub/linux/redhat/current/SRPMS/SRPMS/
|
1998-06-17 07:17:41 +00:00
|
|
|
EXTRACT_SUFX= -11.src.rpm
|
1997-01-03 08:15:44 +00:00
|
|
|
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
|
|
MAINTAINER= tg@FreeBSD.ORG
|
|
|
|
|
1997-01-24 07:52:55 +00:00
|
|
|
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm
|
|
|
|
|
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
|
|
|
|
|
|
|
PATCH_FILES= ${DISTNAME}-dirent.patch
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
.if !defined(NO_WRKDIR)
|
|
|
|
@${RM} -rf ${WRKDIR}
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
.endif
|
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}"
|
|
|
|
@for file in ${PATCH_FILES}; do \
|
|
|
|
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/$$file; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|