freebsd-ports/devel/eboxy/Makefile

45 lines
1,001 B
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: eboxy
# Date created: Sep 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= eboxy
PORTVERSION= 0.3.9
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= Create simple GUI interfaces for entertainment PC
USE_SDL= sdl gui
USE_GNOME= gnometarget libxml2
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-lirc
MAN1= eboxy.1
CPPFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include \
2004-02-07 21:41:45 +01:00
-DHAVE_DECL_GETOPT -fPIC
LDFLAGS= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
2004-03-19 14:42:38 +01:00
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= "Configure fails on ia64"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O2 $$CFLAGS|$$CFLAGS|g' ${WRKSRC}/configure
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
2004-03-19 14:42:38 +01:00
.include <bsd.port.post.mk>