blob: e1b990b5f7b805b4c0d9c88cd1921e8971ecdd40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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.1.1.1 1997/01/03 08:15:44 tg Exp $
#
DISTNAME= xgammon-0.98
CATEGORIES= games
MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/devel/srpms/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>
|