From 2365811aedf5c07da748b84323b66aad78063002 Mon Sep 17 00:00:00 2001 From: fjoe Date: Sun, 9 Nov 2003 22:37:56 +0000 Subject: Switch to wxgtk2. --- graphics/multivideo/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/multivideo/Makefile b/graphics/multivideo/Makefile index ef1c3ebaec0..f365d85573e 100644 --- a/graphics/multivideo/Makefile +++ b/graphics/multivideo/Makefile @@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= An image sequence viewer -LIB_DEPENDS= wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk +LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2 WRKSRC= ${WRKDIR}/${PORTNAME} @@ -26,11 +26,15 @@ USE_GMAKE= yes MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" ALL_TARGET= default +WX_CONFIG= ${X11BASE}/bin/wxgtk2-2.4-config + post-patch: @${REINPLACE_CMD} -e 's|g++|\$$\(CXX)|g ; \ s|-O2 -g -Wall -W|\$$\(CXXFLAGS\)|g ; \ s|[(]CC[)]|\(CXX\)|g ; \ - s|gcc|\$$\(CXX\)|g' ${WRKSRC}/Makefile + s|gcc|\$$\(CXX\)|g ; \ + s|wx-config|${WX_CONFIG}|g' \ + ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/multivideo ${PREFIX}/bin -- cgit