2001-03-28 10:35:42 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: paragui
|
|
|
|
# Date Created: Mar 28, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= paragui
|
2001-10-12 01:27:06 -04:00
|
|
|
PORTVERSION= 0.7.2
|
2001-03-28 10:35:42 -05:00
|
|
|
CATEGORIES= x11-toolkits
|
|
|
|
MASTER_SITES= ftp://ftp.bms-austria.com/pub/paragui/release/
|
|
|
|
|
2001-10-12 01:27:06 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-03-28 10:35:42 -05:00
|
|
|
|
2001-04-09 07:55:04 -04:00
|
|
|
LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
|
2001-06-26 06:18:52 -04:00
|
|
|
SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf
|
2001-03-28 10:35:42 -05:00
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_FREETYPE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
2001-04-26 14:44:30 -04:00
|
|
|
CFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
2001-03-28 10:35:42 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2001-04-26 14:44:30 -04:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s,\`sdl-config ,\`${SDL_CONFIG} ,g ; \
|
|
|
|
s,SDL/,SDL11/,g" ${WRKSRC}/configure
|
2001-03-28 10:35:42 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|