aboutsummaryrefslogtreecommitdiffstats
path: root/www/flock/Makefile
blob: 03a82750137ade41d86a6ddd208b87094c654baa (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# ex:ts=8
#
# New ports collection makefile for:    phoenix
# Date created:         2002/10/21
# Whom:             Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=       phoenix
PORTVERSION=        0.4
PORTREVISION=       7
CATEGORIES=     www # pita
MASTER_SITES=       ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor

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

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg \
        png.5:${PORTSDIR}/graphics/png \
        mng.1:${PORTSDIR}/graphics/libmng \
        freetype.9:${PORTSDIR}/print/freetype2 \
        IDL.2:${PORTSDIR}/devel/ORBit \
        Xft2.2:${PORTSDIR}/x11-fonts/Xft \
        iconv.3:${PORTSDIR}/converters/libiconv

BUILD_DEPENDS=  zip:${PORTSDIR}/archivers/zip \
        freetype-config:${PORTSDIR}/print/freetype2

USE_X_PREFIX=       yes

USE_BZIP2=      yes
USE_GMAKE=      yes
USE_PERL5=      yes
USE_REINPLACE=      yes
HAS_CONFIGURE=      yes

USE_GNOMENG=        yes
USE_GNOME=      gtk12 orbit

CPPFLAGS+=      -I${X11BASE}/include
CFLAGS+=        ${PTHREAD_CFLAGS}
LDFLAGS+=       -L${X11BASE}/lib
LIBS+=          ${PTHREAD_LIBS}

NO_MTREE=       yes
WRKSRC=         ${WRKDIR}/mozilla
LOCAL_PREFIX=       ${PREFIX}/lib/${PORTNAME}

.include <bsd.port.pre.mk>

.if !defined(PERL_LEVEL)
.if !exists(${LOCALBASE}/bin/perl)
PERL_LEVEL=0
.endif # !exists(${LOCALBASE}/bin/perl)
perl_major=${PERL_VERSION:C|^([1-9]+).*|\1|}
_perl_minor=00${PERL_VERSION:C|^([1-9]+)\.([0-9]+).*|\2|}
perl_minor=${_perl_minor:C|^.*(...)|\1|}
.if ${perl_minor} >= 100
perl_minor=${PERL_VERSION:C|^([1-9]+)\.([0-9][0-9][0-9]).*|\2|}
perl_patch=${PERL_VERSION:C|^.*(..)|\1|}
.else # ${perl_minor} < 100
_perl_patch=0${PERL_VERSION:C|^([1-9]+)\.([0-9]+)\.*|0|}
perl_patch=${_perl_patch:C|^.*(..)|\1|}
.endif # ${perl_minor} < 100
PERL_LEVEL=${perl_major}${perl_minor}${perl_patch}
.endif # !defined(PERL_LEVEL)

SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}

.if ${PERL_LEVEL} < 500601
.undef NO_IGNORE
BROKEN= "right now, we can only support the ports versions of Perl."
BROKEN+="We are working on the problem. Sorry for the inconvenience."
BROKEN+="If you have installed a Perl port, and are getting this message,"
BROKEN+="please make sure you have issued the command 'use.perl port'"
.endif # ${PERL_LEVEL} < 500601

pre-extract::
    @${ECHO_MSG}
    @${ECHO_MSG} "Extracting source (this takes a while) ..."
    @${ECHO_MSG}

post-extract::
    @${SED} -e 's|@CPPFLAGS@|${CPPFLAGS}|'      \
        -e 's|@CFLAGS@|${CFLAGS}|'      \
        -e 's|@LDFLAGS@|${LDFLAGS}|'        \
        -e 's|@LIBS@|${LIBS}|'          \
        -e 's|@X11BASE@|${X11BASE}|'        \
        -e 's|@LOCALBASE@|${LOCALBASE}|'    \
        -e 's|@PREFIX@|${LOCAL_PREFIX}|'    \
        <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig
    @${CAT} ${PKGMESSAGE} 2>/dev/null; sleep 5

# fix for Xft (thanks to marcus@)
post-patch:
    cd ${WRKSRC}/gfx/src/gtk;               \
    ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \
        nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h

post-install:
    @${RM} -f ${PREFIX}/bin/phoenix
    @${LN} -s ${LOCAL_PREFIX}/bin/phoenix \
        ${PREFIX}/bin/phoenix
    @${RM} -f ${PREFIX}/bin/phoenix-config
    @${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \
        ${PREFIX}/bin/phoenix-config
    @${CAT} ${PKGMESSAGE} 2>/dev/null; sleep 5
    @${RM} -fr ${LOCAL_PREFIX}/share/idl
    @${RM} -fr ${LOCAL_PREFIX}/include

.include <bsd.port.post.mk>

#EOF
d>-0/+2 * Remove $FreeBSD$ from patches files in categories a-j.mat2015-05-221-2/+1 * MASTER_SITES cleanup.mat2015-05-142-4/+2 * eric6 ports: Update to version 6.0.5.bsam2015-05-081-2/+2 * Update to 4.3.7.jkim2015-04-261-4/+4 * eric6 ports: Update to version 6.0.4.bsam2015-04-091-2/+2 * Mark a few ports in french category BROKEN (unfetchable)antoine2015-04-053-0/+6 * 8 ports categories: Remove $PTHREAD_LIBSmarino2015-03-241-6/+6 * Update KDE SC to 4.14.3alonso2015-03-121-2/+2 * - Update to 5.3sunpoet2015-03-092-3/+3 * Eric6 localization files.bsam2015-03-083-0/+10 * - Update to 4.3.6.jkim2015-02-211-4/+4 * Update Code_Aster to 11.7.0-1, with its different tools.thierry2015-02-1910-2323/+46 * Unbreak on headantoine2015-02-151-11/+7 * Switch some dependencies from a directory name or a file generated by pkg-ins...antoine2015-01-242-7/+7 * - Update to 1.8.14sunpoet2015-01-182-2/+2 * * Port updated to 0.1.41naddy2015-01-185-17/+32 * Uses the new blaslapack.mk.thierry2015-01-061-24/+10 * cleanup plistbapt2014-12-212-2/+0 * Update to 4.3.5.jkim2014-12-191-4/+4 * Update to 4.3.4.jkim2014-11-271-4/+4 * Update to 4.3.3.jkim2014-11-011-4/+4 * Cleanup plistbapt2014-10-2011-174/+0 * - Convert ports from french/ and ftp/ to new USES=pythonmva2014-10-204-9/+6 * KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!makc2014-10-193-267/+68 * Update to 4.3.2.jkim2014-10-172-5/+4 * Update to 5.2bapt2014-10-062-4/+3 * MASTER_SITES is often down these days => mirror the distfile.thierry2014-10-022-4/+3 * Remove patches that added an autotools based build system and instead usetijl2014-09-258-73/+17 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-1110-7/+10 * eric4 ports: update to version 4.5.24.bsam2014-09-101-2/+2 * Remove non staged ports without pending PR from f*bapt2014-09-0110-667/+0 * - update to 1.74ohauer2014-08-311-2/+2 * Remove ports related to Adobe Reader.hrs2014-08-305-30/+0 * Stage french/dicomarino2014-08-252-12/+1 * - Drop .la files, no dependees require themamdmi32014-08-242-5/+2 * - Upgrade Code_Aster to 11.6.0-1.thierry2014-08-188-2279/+2336 * Upgrade OpenEXR and ilmbase to 2.2.0.mandree2014-08-162-1/+2 * In some straightforward cases, protect documentation behindadamw2014-08-042-19/+19 * Rename all patches that contain '::' as a path separator, and useadamw2014-07-301-0/+0 * The 11.5 tarball has been removed: mirror it untill I get the time forthierry2014-07-251-1/+3 * Reset maintainership for ports not staged with no pending PRbapt2014-07-241-1/+1 * - Add LICENSEsunpoet2014-07-171-0/+2 * - Update to 5.1sunpoet2014-07-172-3/+3 * - Add LICENSEsunpoet2014-07-161-0/+2 * Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple whileadamw2014-07-052-2/+11 * Oops, reversed the DOCS check.adamw2014-07-041-1/+1 * Get rid of NOPORTDOCS.adamw2014-07-042-5/+7 * jdictionary is stagedantoine2014-07-031-1/+0 * Update to version 4.5.23.bsam2014-06-301-2/+2 * Update to 4.2.5.jkim2014-06-241-4/+4 * - Remove obsolete PYEASYINSTALL_EGG entry, now that the ports usemva2014-06-221-1/+0 * - Remove unused PYEASYINSTALL_* leftoversmva2014-06-221-3/+0 * Depend on devel/xdg-utils instead of devel/py-qt4-assistant.rakuco2014-06-161-1/+2 * Stagify.vanilla2014-06-151-5/+4 * Update to libreoffice 4.2.4bapt2014-06-111-4/+4 * Remove indefinite articles and trailing periods from COMMENT, plusolgeni2014-06-101-1/+1 * Fix the build by adding the Python metaport.thierry2014-06-021-0/+1 * - Convert gmake to USESmiwi2014-05-291-1/+1 * french/aster (and depends): specify post-extraction with ${TAR}marino2014-05-291-1/+1 * Unbreak and make packageable.thierry2014-05-274-24/+119 * Chase the upgrade of Code_Aster ans stagify.thierry2014-05-143-192/+259 * Fix several problems: it now builds cleanly and can run the tests.thierry2014-05-146-12560/+11837 * Fix stagificationedwin2014-05-141-1/+0 * Update eric4 ports to version 4.5.22.bsam2014-05-121-2/+2 * KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9!makc2014-05-111-2/+2 * Support stagebapt2014-05-091-1/+0 * Support stagebapt2014-05-091-1/+0 * Support stagebapt2014-05-082-14/+16 * Update to 4.1.6.jkim2014-05-071-4/+4 * Catch a couple of missing convertsion to :tu/:tlbapt2014-05-051-1/+1 * Convert all :U to :tu and :L to :tlbapt2014-05-051-2/+2 * - Update to 1.8.12 (from science/hdf5-18)sunpoet2014-05-032-3/+4 * When linking a library libA with a library libB using libtool, if libB.latijl2014-04-231-1/+2 * Unbreak with the work-around given by Vladimir Chukharev in PR ports/188114thierry2014-04-182-8/+11 * The FreeBSD x11@ and graphics team proudly presentszeising2014-04-171-0/+1 * Restore the previous sed to fix python.thierry2014-04-101-1/+3 * - Support staging;thierry2014-04-102-10/+6 * Eric4 ports: update to version 4.5.21.bsam2014-04-061-2/+2 * KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!makc2014-04-031-2/+2 * Upgrade Code_Aster to 11.5.0-4.thierry2014-03-1925-1904/+1728 * Update to version 4.5.20.bsam2014-03-141-2/+2 * Update the default version of GCC used in the Ports Collection fromgerald2014-03-115-5/+5 * Fix to use proper zip argbapt2014-03-081-1/+1 * Convert f* to USES=zipbapt2014-03-084-4/+4 * Mark BROKEN: Unfetchableantoine2014-03-071-0/+1 * KDE/FreeBSD team presents KDE SC 4.12.3 and KDE Workspace 4.11.7!makc2014-03-052-7/+40 * - Support stagingculot2014-02-281-3/+2 * Update to 4.1.5. It is partially based on the following PR.jkim2014-02-261-4/+4 * Use ${LDFLAGS} instead of constructing -L${LOCALBASE}/lib/${CC} manuallygerald2014-02-241-1/+1 * - Bump PORTREVISION after KDE4_PREFIX changemakc2014-02-181-0/+1 * KDE/FreeBSD team presents KDE SC 4.12.2 and KDE Workspace 4.11.6!makc2014-02-184-219/+107 * - Update to USES=tkgahr2014-02-181-2/+1 * - Convert to USES=tkgahr2014-02-181-4/+2 * Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most casestijl2014-02-172-6/+2 * - Swith from easy_install to install (and bump PORTREVISION)antoine2014-02-094-40/+6 * - Kill french/gfaim -- abandonwaregahr2014-02-056-118/+0 * - Update gimp-help ports to 2.8.1. Polish translation has been removed, newmakc2014-02-011-3/+3 * Remove ispell which is deprecated for long, consider using aspell instead or ...bapt2014-01-292-13/+0 * Fix properties on pkg-plistbapt2014-01-221-1/+0 * - Update to 5.0.2sunpoet2014-01-212-3/+3 * french/alphabet_sounds_fr: Fix and support stagemarino2014-01-163-17/+52 * Python cleanup:rene2014-01-141-1/+1 * . update to version 4.5.18;bsam2014-01-081-2/+2 * Update to version 4.5.17.bsam2013-12-251-2/+2 * - Update Calligra Suite to 2.7.5.avilla2013-12-173-5/+35 * - Fix the usage of 'python' to get rid of the implicit lang/pythonmva2013-12-151-0/+5 * Update to 5.0.1bapt2013-12-112-3/+3 * . svn copy tryton -> tryton28 ports;bsam2013-11-216-1/+49 * Restore "created by" header missing at some trytond* ports (in preparationbsam2013-11-181-0/+1 * Support STAGE (in preparation to commit PR/181691)..bsam2013-11-181-1/+0 * - Add my LOCAL to MASTER_SITESsunpoet2013-11-182-3/+4 * - Add my LOCAL to MASTER_SITESsunpoet2013-11-182-3/+4 * - Update to 4.12sunpoet2013-11-182-6/+7 * - Use single space after WWW:sunpoet2013-11-183-3/+3 * Fix stagingbapt2013-11-151-1/+1 * Update to version 4.5.15.bsam2013-11-111-2/+2 * Stagifybapt2013-11-041-1/+1 * Stagifybapt2013-11-041-6/+5 * Support stage, use bsdtar to extractbapt2013-11-041-1/+1 * Stagifybapt2013-11-041-1/+0 * Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-265-3/+5 * - Update to 4.0.6.jkim2013-10-262-5/+4 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-222-2/+0 * Update to version 4.5.15.bsam2013-10-091-2/+2 * . support staging;bsam2013-10-061-1/+0 * Support stagebapt2013-09-241-4/+3 * Support stagebapt2013-09-241-6/+5 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-2128-58/+39 * Update to version 4.5.14.bsam2013-08-231-2/+2 * Update to 4.0.5.jkim2013-08-231-4/+4 * - Convert to new perl frameworkaz2013-07-311-6/+3 * KDE3 and QT3 expired on 2013-07-01, remove these ports.rene2013-07-275-2642/+0 * Fix INDEX by really fixing the kde4-l10n portsbapt2013-07-101-0/+1 * KDE4 l10n fixes.rakuco2013-07-102-3/+1 * Update to version 4.5.13.bsam2013-07-081-2/+2 * Update the KDE Software Compilation to 4.10.5.rakuco2013-07-051-2/+2 * Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.rakuco2013-07-032-2/+3 * Update to 4.0.4.jkim2013-06-201-4/+4 * - Set MASTER_SITES to MASTER_SITE_LOCAL due to the decommissioning ofculot2013-06-161-6/+3 * - Fix i18n manpagesmiwi2013-06-111-0/+3 * Update to version 4.5.12.bsam2013-06-101-2/+2 * - Update MASTER_SITES and COMMENTwen2013-05-191-3/+4 * KDE/FreeBSD team presents KDE SC 4.10.3 ports!makc2013-05-193-4/+12 * Update to 4.0.3.jkim2013-05-101-4/+4 * - Convert USE_ICONV=yes to USES=iconvmva2013-04-271-2/+1 * - Convert USE_GETTEXT to USES (part 4)ak2013-04-261-1/+1 * - Convert USE_GETTEXT to USES (part 2)ak2013-04-241-1/+1 * Convert f* to USES=pkgconfigbapt2013-04-231-2/+1 * Update to version 4.5.10.bsam2013-04-231-2/+2 * Update to 4.0.2.jkim2013-04-171-4/+4 * - Update Calligra and l10n ports to 2.6.2:avilla2013-03-302-35/+4 * KDE/FreeBSD team presents KDE SC 4.10.1 ports!makc2013-03-274-31/+72 * Finish converting french to new options frameworkbapt2013-03-261-13/+10 * Fix plist.thierry2013-03-232-0/+4 * Remove french/eficas_doc.thierry2013-03-206-618/+0 * Chase Code_Aster's upgrade.thierry2013-03-201-6/+2 * Upgrade to 3.0.6.thierry2013-03-202-14/+8 * Upgrade to 6.6.0-2.thierry2013-03-204-224/+177 * Upgrading Code_Aster to 10.8.0-3.thierry2013-03-206-100/+73 * french/gibi: IGNORE for more than 6 monthseadler2013-03-198-177/+0 * - Add translation of the restricted lineeadler2013-03-19