summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-11-09 22:37:56 +0000
committerfjoe <fjoe@FreeBSD.org>2003-11-09 22:37:56 +0000
commit2365811aedf5c07da748b84323b66aad78063002 (patch)
tree30e4401b5efcbc199d92c517c42fae233a3d524d /graphics
parentb0c186a8b631e84ffc03aa7b442802977d23d498 (diff)
downloadFreeBSD-ports-2365811aedf5c07da748b84323b66aad78063002.zip
FreeBSD-ports-2365811aedf5c07da748b84323b66aad78063002.tar.gz
Switch to wxgtk2.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/multivideo/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/multivideo/Makefile b/graphics/multivideo/Makefile
index ef1c3eb..f365d85 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
OpenPOWER on IntegriCloud