summaryrefslogtreecommitdiff
path: root/www/nscache/Makefile
blob: 2bee028c777ebe2d357a78fc931a6fdf449fc0b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	nscache
# Date created:		04 March 2000
# Whom:			Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	nscache
PORTVERSION=	0.6
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		http://www.idata.sk/~ondrej/sw/
MASTER_SITE_SUBDIR=	${PORTNAME}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Netscape cache browser

USE_X_PREFIX=	yes
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}"

CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib

post-install:
	${INSTALL_DATA} ${WRKSRC}/nscache.desktop \
		${PREFIX}/share/gnome/apps/Internet
	${INSTALL_DATA} ${WRKSRC}/nscache.xpm \
		${PREFIX}/share/gnome/pixmaps

.include <bsd.port.mk>