aboutsummaryrefslogtreecommitdiff
path: root/graphics/chbg
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/chbg')
-rw-r--r--graphics/chbg/Makefile8
-rw-r--r--graphics/chbg/files/patch-aa20
-rw-r--r--graphics/chbg/pkg-plist3
3 files changed, 26 insertions, 5 deletions
diff --git a/graphics/chbg/Makefile b/graphics/chbg/Makefile
index 800ca8e3f4ae..bdd242ae1815 100644
--- a/graphics/chbg/Makefile
+++ b/graphics/chbg/Makefile
@@ -14,12 +14,10 @@ EXTRACT_SUFX= .tgz
MAINTAINER= p@dancris.com
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- Imlib.5:${PORTSDIR}/graphics/imlib
-
USE_GMAKE= yes
+USE_IMLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config" \
- CFLAGS="-I${LOCALBASE}/include ${CFLAGS}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/graphics/chbg/files/patch-aa b/graphics/chbg/files/patch-aa
new file mode 100644
index 000000000000..96f2f273d11f
--- /dev/null
+++ b/graphics/chbg/files/patch-aa
@@ -0,0 +1,20 @@
+--- configure.orig Tue Oct 3 15:37:21 2000
++++ configure Tue Oct 3 15:39:25 2000
+@@ -2547,7 +2547,7 @@
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+- ac_cv_prog_IMLIB_CONFIG=""yes""
++ ac_cv_prog_IMLIB_CONFIG=""imlib-config""
+ break
+ fi
+ done
+@@ -2562,7 +2562,7 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
+-if eval "test x$IMLIB_CONFIG = xyes"; then
++if eval "test x$IMLIB_CONFIG != xno"; then
+ echo "$ac_t"""checking for gdk_imlib configuration using imlib-config script ..."" 1>&6
+ IMLIB_LIBS=`imlib-config --libs-gdk`
+ echo "$ac_t""" gdk_imlib LDFLAGS=$IMLIB_LIBS"" 1>&6
diff --git a/graphics/chbg/pkg-plist b/graphics/chbg/pkg-plist
index 506789aa76d0..6ea5ee1f9777 100644
--- a/graphics/chbg/pkg-plist
+++ b/graphics/chbg/pkg-plist
@@ -1 +1,4 @@
bin/chbg
+share/locale/fr/LC_MESSAGES/chbg.mo
+share/locale/sk/LC_MESSAGES/chbg.mo
+share/locale/ja/LC_MESSAGES/chbg.mo