aboutsummaryrefslogtreecommitdiffstats
path: root/www/comclear/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/comclear/Makefile')
-rw-r--r--www/comclear/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/www/comclear/Makefile b/www/comclear/Makefile
index 2e1c53cde1ac..60ad81501fc5 100644
--- a/www/comclear/Makefile
+++ b/www/comclear/Makefile
@@ -7,19 +7,22 @@
PORTNAME= comclear
PORTVERSION= 1.1
-CATEGORIES= www
+PORTREVISION= 1
+CATEGORIES= www gtk
MASTER_SITES= http://www.neuro-tech.net/files/
MAINTAINER= roam@FreeBSD.org
-.if defined(WITH_GTK)
-BUILD_DEPENDS= ${X11BASE}/bin/gtk12-config:${PORTSDIR}/x11-toolkits/gtk12/
-CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk12-config
-.endif
-
+WANT_GTK= yes
USE_GMAKE= yes
USE_AUTOMAKE= yes
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GTK)
+USE_GTK= yes
+.endif
+
# Do not install docs by default, see the ifdef'd post-install below.
post-configure:
${PERL} -pi.fbsd -e 's/^install-data-am:.*/install-data-am:/' ${WRKSRC}/Makefile
@@ -29,4 +32,4 @@ post-install:
cd ${WRKSRC} && ${GMAKE} install-docDATA
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>