aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-firebird/Makefile
blob: a197d83f1ecbc883dbf3c5b504f3017bf853e607 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
# ex:ts=8
#
# New ports collection makefile for:    phoenix
# Date created:         2002/10/21
# Whom:             Alan Eldridge <ports@geeksrus.net>
#
# $FreeBSD$
#

PORTNAME=       phoenix
PORTVERSION=        0.3
PORTREVISION=       1
CATEGORIES=     www
MASTER_SITES=       ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor

MAINTAINER=     alane@freebsd.org # and trevor@freebsd.org

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg \
        png.5:${PORTSDIR}/graphics/png \
        mng.1:${PORTSDIR}/graphics/libmng \
        freetype.9:${PORTSDIR}/print/freetype2

BUILD_DEPENDS=  zip:${PORTSDIR}/archivers/zip \
        freetype-config:${PORTSDIR}/print/freetype2 \
        perl5.8.0:${PORTSDIR}/lang/perl5.8

PREFIX=     ${X11BASE}/lib/${PORTNAME}

USE_BZIP2=      yes
USE_GMAKE=      yes
#USE_AUTOCONF_VER=  213
GNU_CONFIGURE=      yes

WRKSRC=         ${WRKDIR}/mozilla

.include <bsd.port.pre.mk>

.if !defined(PERL_VER) || ${PERL_VER} != 5.8.0
.error This port requires Perl 5.8.0.
.endif

post-extract:
    ${SED} -e 's|@X11BASE@|${X11BASE}|'     \
        -e 's|@LOCALBASE@|${LOCALBASE}|'    \
        <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig

post-install:
    ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix
    ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config

.include <bsd.port.post.mk>

#EOF