summaryrefslogtreecommitdiff
path: root/news/glitter/Makefile
blob: 167336d71a4e464a2e6d2287e7a2f7e23a1d7cdd (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
# New ports collection makefile for:	glitter
# Date Created:		09 Dec 2000
# Whom:			Greg Greenaae <greg@gregnet.net>
#
# $FreeBSD$
#

PORTNAME=	glitter
PORTVERSION=	1.0.b.1
PORTREVISION=	1
CATEGORIES=	news
MASTER_SITES=	http://mews.org.uk/glitter/\
		ftp://ftp.gregnet.net/pub/FreeBSD/ports/news/glitter/
DISTNAME=	${PORTNAME}-1.0beta1

MAINTAINER=	greg@gregnet.net
COMMENT=	A free GTK based binary downloader

USE_X_PREFIX=	yes
USE_GNOME=	gnomeprefix gnomehack gnomelibs gtk12
GNU_CONFIGURE=	yes
USE_REINPLACE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

pre-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>