summaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerreg <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commit97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (patch)
treea059ae14b97a6e427c4c5a801e98bb245e73742e /irc
parent38d35e3db9111f42b79313f05731c75e6e55d7e8 (diff)
downloadFreeBSD-ports-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.zip
FreeBSD-ports-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.gz
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 7ecec2b..1b15b96 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 91070b9..771756e 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
OpenPOWER on IntegriCloud