blob: 10a459924e6a6c049e3de257e70ec13ddabf07fe (
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
40
41
42
43
|
# New ports collection makefile for: criticalmass
# Date created: 15 Sep 2003
# Whom: benlutz@datacomm.ch
#
# $FreeBSD$
#
PORTNAME= freedroid
PORTVERSION= 1.0.2
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= freedroid
MAINTAINER= alejandro@varnet.biz
COMMENT= Freedroid is a clone of the classic game "Paradroid"
USE_XLIB= yes
USE_SDL= mixer image sdl
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name=
MAN6= freedroid.6
post-extract:
.for d in graphics map sound
@${FIND} ${WRKSRC}/${d} -type f -name "Makefile*" -print0 | \
${XARGS} -0 ${RM}
.endfor
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's#-lSDL # #;' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's#$$(man_MANS) mac-osx ##;' \
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's#\#include \"mac-osx/getopt\.h\"##;' \
${WRKSRC}/src/system.h
.include <bsd.port.post.mk>
|