2002-09-15 20:57:10 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: eboxy
|
|
|
|
# Date created: Sep 14, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= eboxy
|
2003-04-27 00:41:28 +02:00
|
|
|
PORTVERSION= 0.3.6
|
2002-09-15 20:57:10 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://www.bluelightning.org/ebox/files/eboxy/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Create simple GUI interfaces for entertainment PC
|
2002-09-15 20:57:10 +02:00
|
|
|
|
2002-10-28 11:50:47 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libSDL_gui.so:${PORTSDIR}/x11-toolkits/sdl_gui
|
2003-04-27 00:41:28 +02:00
|
|
|
LIB_DEPENDS= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
|
|
|
|
SDL_image.10:${PORTSDIR}/graphics/sdl_image
|
2002-10-28 11:50:47 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libSDL_gui.so:${PORTSDIR}/x11-toolkits/sdl_gui
|
2002-09-15 20:57:10 +02:00
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
2002-10-28 11:50:47 +01:00
|
|
|
|
2003-04-27 00:41:28 +02:00
|
|
|
USE_GNOME= libxml2
|
|
|
|
USE_GETOPT_LONG= yes
|
2002-10-28 11:50:47 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-11-06 18:03:40 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-10-28 11:50:47 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
|
|
SDL_CONFIG="${SDL_CONFIG}"
|
|
|
|
CONFIGURE_ARGS= --disable-lirc
|
|
|
|
|
2003-01-02 18:35:37 +01:00
|
|
|
MAN1= eboxy.1
|
|
|
|
|
2002-10-28 11:50:47 +01:00
|
|
|
CPPFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
|
2003-04-27 00:41:28 +02:00
|
|
|
LDFLAGS= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
|
2002-09-15 20:57:10 +02:00
|
|
|
|
|
|
|
post-patch:
|
2003-04-27 00:41:28 +02:00
|
|
|
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|malloc\.h|stdlib.h|g'
|
2002-09-15 20:57:10 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|