aboutsummaryrefslogtreecommitdiffstats
path: root/www/nscache/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-02-24 18:36:14 +0800
committerkris <kris@FreeBSD.org>2001-02-24 18:36:14 +0800
commit6311705b778bddc11094744b8369e9b4bce879e5 (patch)
tree32854018a48a09c96374b904a88d6be752be095d /www/nscache/Makefile
parentbe50229095b4a2e4ef988555c0942a9152a8bb02 (diff)
downloadfreebsd-ports-gnome-6311705b778bddc11094744b8369e9b4bce879e5.tar.gz
freebsd-ports-gnome-6311705b778bddc11094744b8369e9b4bce879e5.tar.zst
freebsd-ports-gnome-6311705b778bddc11094744b8369e9b4bce879e5.zip
Update to nscache 0.6
Submitted by: Ports Fury
Diffstat (limited to 'www/nscache/Makefile')
-rw-r--r--www/nscache/Makefile27
1 files changed, 18 insertions, 9 deletions
diff --git a/www/nscache/Makefile b/www/nscache/Makefile
index 9cdba6898359..a72f8a8e8c98 100644
--- a/www/nscache/Makefile
+++ b/www/nscache/Makefile
@@ -6,21 +6,30 @@
#
PORTNAME= nscache
-PORTVERSION= 0.2p2
+PORTVERSION= 0.6
CATEGORIES= www
-MASTER_SITES= http://www.idata.sk/~ondrej/sw/
-DISTNAME= nscache-0.2pl2
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://www.idata.sk/~ondrej/sw/
+MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= kris@FreeBSD.org
+USE_X_PREFIX= yes
USE_GTK= yes
+WANT_GNOME= yes
USE_AUTOMAKE= yes
-AUTOMAKE= automake -a -i
-CONFIGURE_ENV= CPPFALGS="-I${LOCALBASE}/include" \
+AUTOMAKE_ARGS= --include-deps
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-gtk-config=${GTK_CONFIG}
+
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+USE_GNOME= yes
+.else
+CONFIGURE_ARGS+= --disable-gnome
+.endif
-pre-configure:
- @cd ${WRKSRC}; aclocal -I ${X11BASE}/share/aclocal
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>