mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Switch to wxgtk2.
This commit is contained in:
parent
f35f3b69bd
commit
d97b9ad742
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93594
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue