summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commitfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch)
tree4ccb4a868e97ff347416395233e3825776b24951 /irc
parentImplement USE_GLIB. (diff)
Implement USE_GTK, part 1.
Diffstat (limited to 'irc')
-rw-r--r--irc/ircatlite/Makefile11
-rw-r--r--irc/olirc/Makefile8
2 files changed, 3 insertions, 16 deletions
diff --git a/irc/ircatlite/Makefile b/irc/ircatlite/Makefile
index 7ecec2bd0df5..1b15b963697c 100644
--- a/irc/ircatlite/Makefile
+++ b/irc/ircatlite/Makefile
@@ -13,22 +13,15 @@ DISTNAME= IRcatLite-r20000308
MAINTAINER= goto@snowy.to
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
+USE_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-gtk-config=gtk12-config
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
-MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
DOCS= LICENSE INSTALL INSTALL.jp README README.jp
WRKSRC= ${WRKDIR}/IRcatLite
-.include <bsd.port.pre.mk>
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ircat ${PREFIX}/bin/ircat
.if !defined(NOPORTDOCS)
@@ -38,4 +31,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/irc/olirc/Makefile b/irc/olirc/Makefile
index 91070b9465d4..771756eca396 100644
--- a/irc/olirc/Makefile
+++ b/irc/olirc/Makefile
@@ -12,16 +12,10 @@ MASTER_SITES= http://olirc.hexanet.fr/
MAINTAINER= nox@jelal.kn-bremen.de
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/olirc ${PREFIX}/bin