Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
PORTNAME= sdl_gui |
9 |
PORTNAME= sdl_gui |
10 |
PORTVERSION= 0.10.3 |
10 |
PORTVERSION= 0.10.3 |
11 |
PORTREVISION= 1 |
11 |
PORTREVISION= 2 |
12 |
CATEGORIES= x11-toolkits |
12 |
CATEGORIES= x11-toolkits |
13 |
MASTER_SITES= http://www.newimage.com/~rhk/SDL_gui/ |
13 |
MASTER_SITES= http://www.newimage.com/~rhk/SDL_gui/ |
14 |
DISTNAME= SDL_gui-${PORTVERSION} |
14 |
DISTNAME= SDL_gui-${PORTVERSION} |
Lines 16-30
Link Here
|
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= A Graphical User Interface library for SDL |
17 |
COMMENT= A Graphical User Interface library for SDL |
18 |
|
18 |
|
19 |
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \ |
19 |
LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image \ |
20 |
SDL_image:${PORTSDIR}/graphics/sdl_image \ |
20 |
SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf |
21 |
SDL_ttf:${PORTSDIR}/graphics/sdl_ttf |
|
|
22 |
|
21 |
|
23 |
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config |
22 |
USE_SDL= yes |
24 |
USE_REINPLACE= yes |
23 |
USE_REINPLACE= yes |
25 |
USE_LIBTOOL= yes |
24 |
USE_LIBTOOL= yes |
|
|
25 |
LIBTOOLFLAGS= --disable-ltlibs --release-ignore |
26 |
INSTALLS_SHLIB= yes |
26 |
INSTALLS_SHLIB= yes |
27 |
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" |
|
|
28 |
|
27 |
|
29 |
post-configure: |
28 |
post-configure: |
30 |
${REINPLACE_CMD} -e "s/^CC=\"cc\"/CC=\"${CXX}\"/" ${WRKSRC}/libtool |
29 |
${REINPLACE_CMD} -e "s/^CC=\"cc\"/CC=\"${CXX}\"/" ${WRKSRC}/libtool |