Lines 18-39
Link Here
|
18 |
MAINTAINER= ports@FreeBSD.org |
18 |
MAINTAINER= ports@FreeBSD.org |
19 |
COMMENT= MPEG2 GOP-accurate editor |
19 |
COMMENT= MPEG2 GOP-accurate editor |
20 |
|
20 |
|
21 |
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ |
21 |
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ |
22 |
mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 \ |
22 |
mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 |
23 |
SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ |
23 |
|
24 |
intl.4:${PORTSDIR}/devel/gettext \ |
24 |
SDLCONFIG?= ${LOCALBASE}/bin/sdl11-config |
25 |
iconv.3:${PORTSDIR}/converters/libiconv |
|
|
26 |
|
25 |
|
27 |
USE_GNOME= gtk12 |
26 |
USE_GNOME= gtk12 |
|
|
27 |
USE_GETOPT_LONG= yes |
28 |
USE_REINPLACE= yes |
28 |
USE_REINPLACE= yes |
29 |
SDLCONFIG?= ${LOCALBASE}/bin/sdl11-config |
|
|
30 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
31 |
CONFIGURE_ENV= \ |
30 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
32 |
CPPFLAGS="${CXXFLAGS} -DHAVE_DECL_GETOPT -I${LOCALBASE}/include" \ |
31 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ |
33 |
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" \ |
32 |
SDLCONFIG="${SDLCONFIG}" |
34 |
SDLCONFIG="${SDLCONFIG}" |
33 |
CONFIGURE_ARGS= --disable-mlib |
|
|
34 |
|
35 |
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT |
36 |
LDFLAGS= -L${LOCALBASE}/lib |
35 |
|
37 |
|
36 |
post-patch: |
38 |
post-patch: |
37 |
@${REINPLACE_CMD} -e 's|-lglib||g' ${WRKSRC}/src/Makefile.in |
39 |
@${REINPLACE_CMD} -e 's| -mcpu=.*"|"|g' ${WRKSRC}/configure |
|
|
40 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ |
41 |
's|pixmaps/\$$(PACKAGE)|\$$(PACKAGE)/pixmaps|g ; \ |
42 |
s|-lglib||g' |
38 |
|
43 |
|
39 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.mk> |