1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/devel/eboxy/Makefile
Tilman Keskinoz 59e8a2e5b6 Update to 0.3.7
PR:		53765
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-06-29 19:54:46 +00:00

47 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: eboxy
# Date created: Sep 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= eboxy
PORTVERSION= 0.3.7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.bluelightning.org/ebox/files/eboxy/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Create simple GUI interfaces for entertainment PC
BUILD_DEPENDS= ${LOCALBASE}/lib/libSDL_gui.so:${PORTSDIR}/x11-toolkits/sdl_gui
LIB_DEPENDS= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
SDL_image.10:${PORTSDIR}/graphics/sdl_image
RUN_DEPENDS= ${LOCALBASE}/lib/libSDL_gui.so:${PORTSDIR}/x11-toolkits/sdl_gui
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GNOME= libxml2
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
SDL_CONFIG="${SDL_CONFIG}"
CONFIGURE_ARGS= --disable-lirc
MAN1= eboxy.1
CPPFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include \
-DHAVE_DECL_GETOPT
LDFLAGS= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
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'
.include <bsd.port.mk>