blob: 5cf62cd1b2044ccc49d94cbba52ad15f5fd7795d (
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
|
PORTNAME= alex4
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/allegator/Alex4/source%20and%20data/ \
SF/lifanov-ports-distfiles/games/${PORTNAME}/:icons
DISTFILES= alex4src_data.zip ${PORTNAME}.png:icons
EXTRACT_ONLY= alex4src_data.zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Classic platformer with Alex the Allegator
WWW= http://allegator.sourceforge.net/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/license.txt
BUILD_DEPENDS= ${LOCALBASE}/lib/libaldmb.a:audio/dumb-allegro
LIB_DEPENDS= liballeg.so:devel/allegro
DESKTOP_ENTRIES="Alex the Allegator 4" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ActionGame;" ""
WRKSRC= ${WRKDIR}/alex4src/src
MAKE_JOBS_UNSAFE=yes
USES= dos2unix gmake zip
# Upstream seems dead. Don't expect a proper fix.
CFLAGS+= -fcommon
post-patch:
@${REINPLACE_CMD} \
-e 's,%%STAGEDIR%%,${STAGEDIR},g' \
-e 's,%%DATADIR%%,${DATADIR},g' \
${WRKSRC}/Makefile
pre-install:
${STRIP_CMD} ${WRKSRC}/alex4
${INSTALL_DATA} ${_DISTDIR}${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>
|