aboutsummaryrefslogtreecommitdiffstats
path: root/news/pan2/Makefile
blob: 38481cce9f999bebe609b2d8d491bd2f5a330d14 (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
# New ports collection makefile for:    pan
# Version required:         0.7.3
# Date created:             07 August 1999
# Whom:                 Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#

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

MAINTAINER= jedgar@FreeBSD.org

LIB_DEPENDS=    gnome.3:${PORTSDIR}/x11/gnomelibs

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

USE_BZIP2=  yes
USE_X_PREFIX=   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 pthread library."
    @${ECHO}
.endif

.include <bsd.port.post.mk>