aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-12-01 07:39:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-12-01 07:39:02 +0000
commitd750615763ee2d3250de2115295079f66d813d1f (patch)
tree05b94e79be3ac272b9b617e50fc723ea52c6cf34 /chinese
parent767bcfc72cf9c3574739d745cff6620fa75b0e74 (diff)
downloadports-d750615763ee2d3250de2115295079f66d813d1f.tar.gz
ports-d750615763ee2d3250de2115295079f66d813d1f.zip
- Use features of bsd.wx.mk, especially USE_WX
PR: ports/101613 Submitted by: alepulver
Notes
Notes: svn path=/head/; revision=178433
Diffstat (limited to 'chinese')
-rw-r--r--chinese/BBMan/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/chinese/BBMan/Makefile b/chinese/BBMan/Makefile
index 262cc53b0efa..dc15f6d039b5 100644
--- a/chinese/BBMan/Makefile
+++ b/chinese/BBMan/Makefile
@@ -16,11 +16,10 @@ DISTNAME= ${PORTNAME}-src-v${PORTVERSION:S,.,-,g}
MAINTAINER= ports@FreeBSD.org
COMMENT= BBMan is a BBS client for X Window System
-LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24
-
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
USE_ZIP= yes
+USE_WX= 2.4
PLIST_FILES= bin/BBMan
@@ -35,7 +34,7 @@ BROKEN= Hard-codes reference to libc_r
.endif
do-build:
- cd ${WRKSRC} && ${CXX} main.cpp `wxgtk2-2.4-config --libs --cxxflags` -I${LOCALBASE}/include ${CFLAGS} -o BBMan
+ cd ${WRKSRC} && ${CXX} main.cpp `${WX_CONFIG} --libs --cxxflags` -I${LOCALBASE}/include ${CFLAGS} -o BBMan
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/BBMan ${TARGETDIR}/bin/BBMan