summaryrefslogtreecommitdiff
path: root/news/pan/Makefile
blob: 1f3cc832dbf0d102267a3fdad0be816a9bdfccae (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
40
41
# New ports collection makefile for:	pan
# Version required:			0.5.2
# Date created:				07 August 1999
# Whom:					Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#

DISTNAME=	pan-0.5.2
CATEGORIES=	news gnome
MASTER_SITES=	ftp://source.rebelbase.com/pub/pan/

MAINTAINER=	jedgar@fxp.org

LIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm \
		gnome.2:${PORTSDIR}/x11/gnomelibs

GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
GTK_CONFIG?=	${X11BASE}/bin/gtk12-config

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-x
CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
		GLIB_CONFIG="${GLIB_CONFIG}" \
		GTK_CONFIG="${GTK_CONFIG}" \
		LIBS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 300000
pre-fetch:
	@${ECHO}
	@${ECHO} "Must have FreeBSD-3.0 or greater due to"
	@${ECHO} "the use of the thread library."
	@${ECHO}
.endif

.include <bsd.port.mk>