summaryrefslogtreecommitdiffstats
path: root/www/nscache/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-19 19:54:45 +0000
committerkrion <krion@FreeBSD.org>2004-03-19 19:54:45 +0000
commite02680ce9a195b76ef8d213943f80fe16dccc70b (patch)
tree7ba27743bfa52bbd4cc3c4832612186d59fd9edb /www/nscache/Makefile
parent62e2a42b41b8ed8b9f32353fe951c1e5bed59ed4 (diff)
downloadFreeBSD-ports-e02680ce9a195b76ef8d213943f80fe16dccc70b.zip
FreeBSD-ports-e02680ce9a195b76ef8d213943f80fe16dccc70b.tar.gz
- Rearrange USE_GNOME
- Utilize USE_GETOPT_LONG PR: ports/64474 Submitted by: Ports Fury
Diffstat (limited to 'www/nscache/Makefile')
-rw-r--r--www/nscache/Makefile34
1 files changed, 18 insertions, 16 deletions
diff --git a/www/nscache/Makefile b/www/nscache/Makefile
index 172899a..2bee028 100644
--- a/www/nscache/Makefile
+++ b/www/nscache/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= nscache
-PORTVERSION= 0.6
-PORTREVISION= 1
+PORTVERSION= 0.6
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.idata.sk/~ondrej/sw/
@@ -18,20 +18,22 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Netscape cache browser
USE_X_PREFIX= yes
-WANT_GNOME= yes
-USE_AUTOMAKE_VER= 14
-AUTOMAKE_ARGS= --include-deps
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --with-gtk-config=${GTK_CONFIG}
+USE_GNOME= gnomehier gtk12
+USE_GETOPT_LONG= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --with-gtk-config=${GTK_CONFIG} --disable-gnome
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
-.include <bsd.port.pre.mk>
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
-.if defined(HAVE_GNOME)
-USE_GNOME+= gtk12
-PKGNAMESUFFIX= -gtk
-.else
-CONFIGURE_ARGS+= --disable-gnome
-.endif
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/nscache.desktop \
+ ${PREFIX}/share/gnome/apps/Internet
+ ${INSTALL_DATA} ${WRKSRC}/nscache.xpm \
+ ${PREFIX}/share/gnome/pixmaps
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud