|
Lines 2-37
Link Here
|
| 2 |
# Date created: 22 Jan 2004 |
2 |
# Date created: 22 Jan 2004 |
| 3 |
# Whom: Jean-Yves Lefort <jylefort@brutele.be> |
3 |
# Whom: Jean-Yves Lefort <jylefort@brutele.be> |
| 4 |
# |
4 |
# |
|
|
5 |
# $Carpetsmoker: ports/games/super_methane_brothers/Makefile,v 1.2 2007/08/02 13:45:02 carpetsmoker Exp $ |
| 5 |
# $FreeBSD: ports/games/super_methane_brothers/Makefile,v 1.10 2007/05/19 20:07:35 flz Exp $ |
6 |
# $FreeBSD: ports/games/super_methane_brothers/Makefile,v 1.10 2007/05/19 20:07:35 flz Exp $ |
| 6 |
# |
7 |
# |
| 7 |
|
8 |
|
| 8 |
PORTNAME= super_methane_brothers |
9 |
PORTNAME= super_methane_brothers |
| 9 |
PORTVERSION= 1.4.7 |
10 |
PORTVERSION= 1.4.8 |
| 10 |
PORTREVISION= 2 |
|
|
| 11 |
CATEGORIES= games |
11 |
CATEGORIES= games |
| 12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
| 13 |
MASTER_SITE_SUBDIR= methane |
13 |
MASTER_SITE_SUBDIR= methane |
| 14 |
DISTNAME= methane-${PORTVERSION} |
14 |
DISTNAME= methane-${PORTVERSION} |
| 15 |
EXTRACT_SUFX= .tgz |
15 |
EXTRACT_SUFX= .tgz |
| 16 |
|
16 |
|
| 17 |
MAINTAINER= ports@FreeBSD.org |
17 |
MAINTAINER= carpetsmoker@xs4all.nl |
| 18 |
COMMENT= A port of the Amiga platform game of the same name |
18 |
COMMENT= A port of the Amiga platform game of the same name |
| 19 |
|
19 |
|
| 20 |
LIB_DEPENDS= clanCore-0.7:${PORTSDIR}/devel/clanlib-devel \ |
20 |
LIB_DEPENDS= clanCore-0.8:${PORTSDIR}/devel/clanlib \ |
| 21 |
mikmod:${PORTSDIR}/audio/libmikmod |
21 |
mikmod:${PORTSDIR}/audio/libmikmod |
| 22 |
|
22 |
|
| 23 |
BUILD_WRKSRC= ${WRKSRC}/source/linux |
23 |
BUILD_WRKSRC= ${WRKSRC}/source/linux |
| 24 |
MAKEFILE= makefile |
24 |
MAKEFILE= makefile |
| 25 |
|
|
|
| 26 |
USE_X_PREFIX= yes |
| 27 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
| 28 |
|
26 |
|
| 29 |
post-patch: |
27 |
post-patch: |
| 30 |
@${REINPLACE_CMD} -e \ |
28 |
@${REINPLACE_CMD} -e \ |
| 31 |
's|g++|${CXX}|; s|gcc|${CXX}|; \ |
29 |
's|g++|${CXX}|; s|gcc|${CXX}|; \ |
| 32 |
s|\(clanCore-0.7\)|\1 clanSignals-0.7|; \ |
30 |
s|^\(METHANE_FLAGS =\)|\1 -I${LOCALBASE}/include -I${X11BASE}/include -I${LOCALBASE}/include/ClanLib-0.8|; \ |
| 33 |
s|^\(METHANE_FLAGS =\)|\1 -I${X11BASE}/include|; \ |
31 |
s|^\(METHANE_LIBS =\)|\1 -L${LOCALBASE}/lib -I${X11BASE}/include -L${LOCALBASE}/lib/ClanLib-0.8|' \ |
| 34 |
s|^\(METHANE_LIBS =\)|\1 -L${X11BASE}/lib|' \ |
|
|
| 35 |
${BUILD_WRKSRC}/makefile |
32 |
${BUILD_WRKSRC}/makefile |
| 36 |
|
33 |
|
| 37 |
do-install: |
34 |
do-install: |