aboutsummaryrefslogblamecommitdiff
path: root/graphics/ale/Makefile
blob: baf85b157dd27403f3dadad24b8fa8236f8e5077 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                            
                 








                                                       
                       






                                                         









                                                                           


                                                      
                           
# ex:ts=8
# Ports collection Makefile for:	ale
# Date created:			Dec 17, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	ale
PORTVERSION=	0.5.1
PORTREVISION=	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

PLIST_FILES=	bin/ale
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>