3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: GOPchop
|
|
# Date created: Apr 24, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gopchop
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF \
|
|
http://outflux.net/unix/software/GOPchop/download/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= GOPchop-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MPEG2 GOP-accurate editor
|
|
|
|
LIB_DEPENDS= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2
|
|
|
|
USE_GNOME= gnometarget gtk12 intlhack
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --disable-sdl
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
|
|
LDFLAGS= -L${LOCALBASE}/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|pixmaps/\$${PACKAGE}|\$${PACKAGE}|g ; \
|
|
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>
|