blob: 292870aff7a8fb4e20cabd966d3fbe8adecd792c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# ex:ts=8
# Ports collection makefile for: GOPchop
# Date created: Apr 24, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gopchop
PORTVERSION= 1.0.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://outflux.net/unix/software/GOPchop/download/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= GOPchop-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= MPEG2 GOP-accurate editor
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
LIB_DEPENDS= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2
USE_SDL= sdl
USE_GETOPT_LONG= yes
USE_GNOME= gnometarget gtk12
USE_PERL5_BUILD= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include -DHAVE_DECL_GETOPT
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
post-patch:
@${REINPLACE_CMD} -e 's| -mcpu=.*"|"|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|pixmaps/\$$(PACKAGE)|\$$(PACKAGE)/pixmaps|g ; \
s|-lglib||g'
.include <bsd.port.mk>
|