Lines 8-13
Link Here
|
8 |
|
8 |
|
9 |
PORTNAME= swfdec |
9 |
PORTNAME= swfdec |
10 |
PORTVERSION= 0.2.1 |
10 |
PORTVERSION= 0.2.1 |
|
|
11 |
PORTREVISION= 1 |
11 |
CATEGORIES= graphics |
12 |
CATEGORIES= graphics |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 15-32
Link Here
|
15 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= Flash Rendering Library |
17 |
COMMENT= Flash Rendering Library |
17 |
|
18 |
|
|
|
19 |
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig |
18 |
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ |
20 |
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ |
19 |
mad.1:${PORTSDIR}/audio/mad \ |
21 |
mad.1:${PORTSDIR}/audio/mad |
20 |
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
22 |
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig |
|
|
23 |
|
24 |
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config |
21 |
|
25 |
|
22 |
USE_X_PREFIX= yes |
26 |
USE_X_PREFIX= yes |
|
|
27 |
USE_GNOME= gnomehack gtk20 libartlgpl2 |
28 |
USE_GETOPT_LONG= yes |
23 |
USE_REINPLACE= yes |
29 |
USE_REINPLACE= yes |
24 |
USE_GNOME= gtk20 libartlgpl2 |
|
|
25 |
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config |
26 |
GNU_CONFIGURE= yes |
30 |
GNU_CONFIGURE= yes |
27 |
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ |
31 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} LDFLAGS="{LDFLAGS} |
28 |
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" |
|
|
29 |
INSTALLS_SHLIB= yes |
32 |
INSTALLS_SHLIB= yes |
|
|
33 |
|
34 |
CPPFLAGS= -I${LOCALBASE}/include |
35 |
LDFLAGS= -L${LOCALBASE}/lib |
30 |
|
36 |
|
31 |
post-patch: |
37 |
post-patch: |
32 |
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/configure |
38 |
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/configure |