Lines 7-15
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= sdl_gfx |
9 |
PORTNAME= sdl_gfx |
10 |
PORTVERSION= 2.0.9 |
10 |
PORTVERSION= 2.0.10 |
11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
12 |
MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/ |
12 |
MASTER_SITES= http://www.ferzkopp.net/~aschiffler/Software/%SUBDIR%/ |
13 |
MASTER_SITE_SUBDIR= SDL_gfx-${PORTVERSION:R} |
13 |
MASTER_SITE_SUBDIR= SDL_gfx-${PORTVERSION:R} |
14 |
DISTNAME= SDL_gfx-${PORTVERSION} |
14 |
DISTNAME= SDL_gfx-${PORTVERSION} |
15 |
|
15 |
|
Lines 20-26
Link Here
|
20 |
USE_REINPLACE= yes |
20 |
USE_REINPLACE= yes |
21 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
22 |
USE_LIBTOOL= yes |
22 |
USE_LIBTOOL= yes |
23 |
CONFIGURE_ARGS= --disable-mmx |
23 |
CONFIGURE_ARGS= --includedir=${PREFIX}/include/SDL11 \ |
|
|
24 |
--disable-mmx |
24 |
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ |
25 |
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ |
25 |
AUTOHEADER="${TRUE}" |
26 |
AUTOHEADER="${TRUE}" |
26 |
INSTALLS_SHLIB= yes |
27 |
INSTALLS_SHLIB= yes |
Lines 32-41
Link Here
|
32 |
.endif |
33 |
.endif |
33 |
|
34 |
|
34 |
post-patch: |
35 |
post-patch: |
35 |
@${REINPLACE_CMD} 's|^libSDL_gfxincludedir.*|&/SDL11|' \ |
36 |
@${GREP} -lR "<SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ |
36 |
${WRKSRC}/Makefile.in |
37 |
's|<SDL/SDL|<SDL|g' |
37 |
.for file in configure SDL_gfxPrimitives.h SDL_framerate.h SDL_rotozoom.h |
|
|
38 |
@${REINPLACE_CMD} 's|<SDL/SDL|<SDL|g' ${WRKSRC}/${file} |
39 |
.endfor |
40 |
|
38 |
|
41 |
.include <bsd.port.post.mk> |
39 |
.include <bsd.port.post.mk> |