summaryrefslogtreecommitdiffstats
path: root/graphics/chbg
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 06:57:56 +0000
committerreg <reg@FreeBSD.org>2000-10-05 06:57:56 +0000
commitcea38f8422a3eeac06b3ce4a5828580a5812d2cc (patch)
tree9703d7928f2f462fdf308bf7d14164f8f8459828 /graphics/chbg
parent4495def283d3b8c777e1eb5b958cedb25b1aa16b (diff)
downloadFreeBSD-ports-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.zip
FreeBSD-ports-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.tar.gz
Implement WANT_IMLIB and USE_IMLIB.
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 800ca8e..bdd242a 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 0000000..96f2f27
--- /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 506789a..6ea5ee1 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
OpenPOWER on IntegriCloud