aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/multivideo
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-11-10 06:37:56 +0800
committerfjoe <fjoe@FreeBSD.org>2003-11-10 06:37:56 +0800
commit2365811aedf5c07da748b84323b66aad78063002 (patch)
tree30e4401b5efcbc199d92c517c42fae233a3d524d /graphics/multivideo
parentb0c186a8b631e84ffc03aa7b442802977d23d498 (diff)
downloadfreebsd-ports-gnome-2365811aedf5c07da748b84323b66aad78063002.tar.gz
freebsd-ports-gnome-2365811aedf5c07da748b84323b66aad78063002.tar.zst
freebsd-ports-gnome-2365811aedf5c07da748b84323b66aad78063002.zip
Switch to wxgtk2.
Diffstat (limited to 'graphics/multivideo')
-rw-r--r--graphics/multivideo/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/multivideo/Makefile b/graphics/multivideo/Makefile
index ef1c3ebaec02..f365d85573ef 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