aboutsummaryrefslogtreecommitdiff
path: root/graphics/ale/Makefile
blob: 2e8104ae50930dc2f401416d431657fc9e36ab13 (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
# ex:ts=8
# Ports collection Makefile for:	ale
# Date created:			Dec 17, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	ale
PORTVERSION=	0.5.1
CATEGORIES=	graphics
MASTER_SITES=	http://auricle.dyndns.org/ALE/download/
PATCH_SITES=	http://auricle.dyndns.org/ALE/bugs/
PATCHFILES=	0.5.1.patch1 0.5.1.patch2
PATCH_DIST_ARGS=	-p1 -d ${PATCH_WRKSRC}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Anti-Lamenessing Engine

USE_GMAKE=	yes

.if !defined(WITHOUT_IMAGEMAGICK)
LIB_DEPENDS=	Magick.6:${PORTSDIR}/graphics/ImageMagick
MAKE_ARGS=	IMAGEMAGICK=1
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500035
USE_REINPLACE=	yes
USE_GCC=	3.1

post-patch:
	@${REINPLACE_CMD} -e "s|^	g++|	${CXX}|" ${WRKSRC}/Makefile
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ale ${PREFIX}/bin

.include <bsd.port.post.mk>