aboutsummaryrefslogtreecommitdiff
path: root/www/nscache/Makefile
blob: b125857244821d6d728cb18e4049e9ea39513f99 (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
# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/www/nscache/Makefile,v 1.3 2007/08/07 03:35:07 mezz Exp $

PORTNAME=	nscache
PORTVERSION=	0.6
PORTREVISION=	8
CATEGORIES=	www
MASTER_SITES=	SF \
		http://www.idata.sk/~ondrej/sw/

EXTRACT_SUFX=	.tgz

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

USE_GNOME=	gnomehier gtk12
USE_GMAKE=	yes
USES=		gettext
GNU_CONFIGURE=	yes
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

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

.include <bsd.port.mk>