2003-12-17 05:15:52 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection Makefile for: ale
|
|
|
|
# Date created: Dec 17, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ale
|
|
|
|
PORTVERSION= 0.5.1
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2003-12-17 05:15:52 +01:00
|
|
|
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
|
|
|
|
|
2004-02-05 21:38:07 +01:00
|
|
|
PLIST_FILES= bin/ale
|
2003-12-17 05:15:52 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_IMAGEMAGICK)
|
|
|
|
LIB_DEPENDS= Magick.6:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
MAKE_ARGS= IMAGEMAGICK=1
|
|
|
|
.endif
|
|
|
|
|
2004-01-27 04:25:51 +01:00
|
|
|
.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
|
|
|
|
|
2003-12-17 05:15:52 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ale ${PREFIX}/bin
|
|
|
|
|
2004-01-27 04:25:51 +01:00
|
|
|
.include <bsd.port.post.mk>
|