aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e6234de753494d83db577ee9007660fc3d98194a (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# $FreeBSD$
#

SUBDIR += accessibility
SUBDIR += arabic
SUBDIR += archivers
SUBDIR += astro
SUBDIR += audio
SUBDIR += benchmarks
SUBDIR += biology
SUBDIR += cad
SUBDIR += chinese
SUBDIR += comms
SUBDIR += converters
SUBDIR += databases
SUBDIR += deskutils
SUBDIR += devel
SUBDIR += dns
SUBDIR += editors
SUBDIR += emulators
SUBDIR += finance
SUBDIR += french
SUBDIR += ftp
SUBDIR += games
SUBDIR += german
SUBDIR += graphics
SUBDIR += hebrew
SUBDIR += hungarian
SUBDIR += irc
SUBDIR += japanese
SUBDIR += java
SUBDIR += korean
SUBDIR += lang
SUBDIR += mail
SUBDIR += math
SUBDIR += misc
SUBDIR += multimedia
SUBDIR += net
SUBDIR += net-im
SUBDIR += net-mgmt
SUBDIR += net-p2p
SUBDIR += news
SUBDIR += palm
SUBDIR += polish
SUBDIR += ports-mgmt
SUBDIR += portuguese
SUBDIR += print
SUBDIR += russian
SUBDIR += science
SUBDIR += security
SUBDIR += shells
SUBDIR += sysutils
SUBDIR += textproc
SUBDIR += ukrainian
SUBDIR += vietnamese
SUBDIR += www
SUBDIR += x11
SUBDIR += x11-clocks
SUBDIR += x11-drivers
SUBDIR += x11-fm
SUBDIR += x11-fonts
SUBDIR += x11-servers
SUBDIR += x11-themes
SUBDIR += x11-toolkits
SUBDIR += x11-wm

PORTSTOP=   yes

.include <bsd.port.subdir.mk>

index:
    @rm -f ${INDEXDIR}/${INDEXFILE}
    @cd ${.CURDIR} && make ${INDEXDIR}/${INDEXFILE}

fetchindex: ${INDEXDIR}/${INDEXFILE}.bz2
    @bunzip2 < ${INDEXDIR}/${INDEXFILE}.bz2 > ${INDEXDIR}/${INDEXFILE} && \
    chmod a+r ${INDEXDIR}/${INDEXFILE} && ${RM} -f ${INDEXDIR}/${INDEXFILE}.bz2

${INDEXDIR}/${INDEXFILE}.bz2: .PHONY
    @${FETCHINDEX} ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2

MASTER_SITE_INDEX?= http://www.FreeBSD.org/ports/
SETENV?=    /usr/bin/env
FETCHINDEX?=    ${SETENV} ${FETCH_ENV} fetch -am -o
INDEX_JOBS?=    2

.if !defined(INDEX_VERBOSE)
INDEX_ECHO_MSG=     true
INDEX_ECHO_1ST=     echo -n
.else
INDEX_ECHO_MSG=     echo 1>&2
INDEX_ECHO_1ST=     echo
.endif

# /rescue/sh is statically linked and much faster to execute than the
# dynamically linked /bin/sh.  This is significant for targets like
# make index that execute the shell tens of thousands of times.
.if exists(/rescue/sh)
INDEX_SHELL=        /rescue/sh
.else
INDEX_SHELL=        /bin/sh
.endif

.if !defined(INDEX_PORTS)
INDEX_PORTS=.
.endif

${INDEXDIR}/${INDEXFILE}:
    @${INDEX_ECHO_1ST} "Generating ${INDEXFILE} - please wait.."; \
    if [ "${INDEX_PRISTINE}" != "" ]; then \
        export LOCALBASE=/nonexistentlocal; \
    fi; \
    tmpdir=`/usr/bin/mktemp -d -t index` || exit 1; \
    trap "rm -rf $${tmpdir}; exit 1" 1 2 3 5 10 13 15; \
    ( cd ${.CURDIR}; for i in ${INDEX_PORTS}; do (cd $${i} && make -j${INDEX_JOBS} INDEX_TMPDIR=$${tmpdir} BUILDING_INDEX=1 \
        __MAKE_SHELL=${INDEX_SHELL} \
        ECHO_MSG="${INDEX_ECHO_MSG}" describe); done ) || \
        (rm -rf $${tmpdir} ; \
        if [ "${INDEX_QUIET}" = "" ]; then \
            echo; \
            echo "********************************************************************"; \
            echo "Before reporting this error, verify that you are running a supported"; \
            echo "version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you"; \
            echo "have a complete and up-to-date ports collection.  (INDEX builds are"; \
            echo "not supported with partial or out-of-date ports collections -- in"; \
            echo "particular, if you are using cvsup, you must cvsup the \"ports-all\""; \
            echo "collection, and have no \"refuse\" files.)  If that is the case, then"; \
            echo "report the failure to ports@FreeBSD.org together with relevant"; \
            echo "details of your ports configuration (including FreeBSD version,"; \
            echo "your architecture, your environment, and your /etc/make.conf"; \
            echo "settings, especially compiler flags and WITH/WITHOUT settings)."; \
            echo; \
            echo "Note: the latest pre-generated version of INDEX may be fetched"; \
            echo "automatically with \"make fetchindex\"."; \
            echo "********************************************************************"; \
            echo; \
        fi; \
        exit 1); \
    cat $${tmpdir}/${INDEXFILE}.desc.* | (cd ${.CURDIR} ; perl ${.CURDIR}/Tools/make_index) | \
        sed -e 's/  */ /g' -e 's/|  */|/g' -e 's/  *|/|/g' -e 's./..g' | \
        sort -t '|' +1 -2 | \
        sed -e 's../.g' > ${INDEXDIR}/${INDEXFILE}.tmp; \
    if [ "${INDEX_PRISTINE}" != "" ]; then \
        sed -e "s,$${LOCALBASE},/usr/local," ${INDEXDIR}/${INDEXFILE}.tmp > ${INDEXDIR}/${INDEXFILE}; \
    else \
        mv ${INDEXDIR}/${INDEXFILE}.tmp ${INDEXDIR}/${INDEXFILE}; \
    fi; \
    rm -rf $${tmpdir}; \
    echo " Done."

print-index:    ${INDEXDIR}/${INDEXFILE}
    @awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nE-deps:\t%s\nP-deps:\t%s\nF-deps:\t%s\nWWW:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$11, $$12, $$13, $$10); }' < ${INDEXDIR}/${INDEXFILE}

CVS?= cvs
.if ${OSVERSION} >= 601101
SUP?= csup
.else
SUP?= cvsup
.endif
PORTSNAP?= portsnap
PORTSNAP_FLAGS?= -p ${.CURDIR}
.if defined(SUPHOST)
SUPFLAGS+=  -h ${SUPHOST}
.endif
.if !target(update)
update:
.if defined(SUP_UPDATE) && defined(PORTSSUPFILE)
    @echo "--------------------------------------------------------------"
    @echo ">>> Running ${SUP}"
    @echo "--------------------------------------------------------------"
    @${SUP} ${SUPFLAGS} ${PORTSSUPFILE}
.elif defined(CVS_UPDATE)
    @echo "--------------------------------------------------------------"
    @echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
    @echo "--------------------------------------------------------------"
    cd ${.CURDIR}; ${CVS} -R -q update -A -P -d -I!
.else
    @echo "--------------------------------------------------------------"
    @echo ">>> Running ${PORTSNAP}"
    @echo "--------------------------------------------------------------"
.if !exists(${PORTSDIR}/.portsnap.INDEX)
    @echo "Error: 'make update' uses portsnap(8) by default and"
    @echo "needs ${PORTSDIR} to be created by portsnap on its first run."
    @echo "Please run 'portsnap fetch extract' first."
    @echo "You can also define SUP_UPDATE and PORTSSUPFILE to use csup(1)"
    @echo "or CVS_UPDATE to use cvs(1) for updating."
.else
    @${PORTSNAP} ${PORTSNAP_FLAGS} fetch
    @${PORTSNAP} ${PORTSNAP_FLAGS} update
.endif
.endif
.endif
/commit/german?h=mate-1.20&id=4f7b9f78c441137bf8e355f806399df3f17d3831'>- Fix packagingpav2004-03-304-866/+60 * - SIZEifymarkus2004-03-291-0/+1 * Add SIZE.nectar2004-03-181-0/+1 * Add staroffice70kris2004-03-171-0/+1 * Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-141-1/+1 * Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-109-4/+37 * - add SIZEdinoex2004-02-261-0/+1 * Change my email address.markus2004-02-241-1/+1 * BROKEN on 5.x: broken pkg-plistkris2004-02-091-1/+7 * Use PLIST_FILES (bento-tested, marcus-reviewed).trevor2004-02-062-1/+1 * Update to KDE 3.2.0lofi2004-02-0515-202/+1063 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-043-0/+3 * Add USE_GETTEXT and bump PORTREVISION.marcus2004-02-045-10/+10 * Now gettext 0.12.1 is gettext-old.trevor2004-01-245-5/+5 * - fix PKGORIGINeik2004-01-231-1/+1 * - Update to 3.13pav2004-01-215-102/+334 * Fix Makefile comment in port.mbr2004-01-091-2/+2 * Add german port of staroffice7.0mbr2004-01-098-3680/+5317 * uncomment test lines. apologies.edwin2004-01-031-2/+2 * [NEW PORT] german/de-geonext: Interactive (dynamic) elementary Geometry Softwareedwin2004-01-035-0/+83 * - update to 0.95dinoex2003-12-292-2/+2 * Define USE_PERL5_BUILD, not erroneous USE_PERL.trevor2003-11-202-2/+2 * Define USE_PERL to make Perl available for (mostly deprecated)trevor2003-11-202-0/+2 * new German-language, i386 Linux binary port of Firebird Web browsertrevor2003-11-194-0/+26 * Fix COMMENT spellingeik2003-11-152-2/+2 * Fix COMMENT with an a-umlaut.nork2003-11-142-2/+2 * Add kheisereg, utility to search offline within the article databasearved2003-11-145-0/+85 * Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.trevor2003-11-131-1/+1 * OpenOffice -> OpenOffice.orgmaho2003-11-094-4/+4 * Language setting was wrong for german.maho2003-11-091-1/+1 * Add OpenOffice.org 1.1 for german.maho2003-11-093-0/+117 * Forgot to change Makefile s..maho2003-11-081-1/+1 * rename openoffice* to openoffice-1.0* accodingly (repo copy).maho2003-11-082-2/+2 * rename openoffice to openoffice-1.0 after repocopymaho2003-11-083-117/+1 * Per maintainer request, remove german/cheapcall. The mastersite haslinimon2003-11-035-56/+0 * Update German Linux manual pages to version 0.4wosch2003-10-292-8/+8 * Per distfile survey, chase new mastersite. Informed maintainer.linimon2003-10-293-4/+3 * utilize SITE_PERLijliao2003-10-241-1/+1 * Switch to tk84, bump PORTREVISION and tidy some whitespace.kris2003-10-191-8/+9 * update german/linux-eagle: 4.09r2 -> 4.11daichi2003-10-143-11/+42 * - use DOCSDIRdinoex2003-10-121-22/+22 * Translation update: fix checksum.will2003-09-222-2/+2 * Upgrade to Qt 3.2.1 / KDE 3.1.4. See x11/kde3/Makefile rev 1.64 for details.will2003-09-182-2/+2 * Update KDE to the latest official release, KDE 3.1.3lofi2003-07-294-10/+28 * Upgrade to use new patchset 112887-04.tarmbr2003-07-242-6/+6 * Fix distinfo for generated files: I mistakenly left "linux-" intrevor2003-07-061-1/+1 * Generate plist either statically or before do-install phase formarcus2003-07-061-3/+4 * Security fix: update to the latest versions: 7.1 for Americantrevor2003-07-038-599/+31 * Update to 0.9.4arved2003-06-133-3/+2 * Update to KDE 3.1.2lioux2003-05-206-10/+18 * Bring back from Attic: localized messages and documentation for kofficelioux2003-05-2013-0/+277 * Remove USE_GNOMENG.marcus2003-04-211-1/+0 * Add hyphenation dictionaries to the slave ports.mbr2003-04-092-0/+2 * Rejoice, for the long awaited upgrade to kde 3.1.1 is here!alane2003-04-064-10/+4 * - fix PLISTdinoex2003-04-052-1/+27 * Clear moonlight beckons.ade2003-03-0712-6/+6 * Remove pkg-comment from remaining master/slave port sets.ade2003-03-074-2/+2 * de-pkg-commentmbr2003-03-064-2/+4 * De-pkg-comment.wosch2003-03-056-3/+3 * - MAINTAINER in standard captiondinoex2003-03-051-1/+1 * -- Move pkg-comment into Makefilenectar2003-02-262-1/+1 * Do not fail if libXrender.so doesn't exist at all.mbr2003-02-221-0/+2 * De-pkg-comment.knu2003-02-218-4/+4 * De-pkg-comment.knu2003-02-212-1/+3 * - retire pkg-commentdinoex2003-02-211-1/+0 * De-pkg-comment.knu2003-02-212-1/+1 * - add COMMENTdinoex2003-02-211-0/+1 * Make some installation notes more clear. Inspired bymbr2003-02-202-7/+24 * Add ksteak, a KDE Frontend for steakarved2003-02-175-0/+80 * Add steak, another german <-> english dictionaryarved2003-02-158-0/+129 * Remove redundant category 'editors' in slave ports.mbr2003-02-132-2/+2 * Add staroffice6 wrapper script.mbr2003-02-051-0/+15 * Fetch the sunsolve patch for inofficial distsites, we have thembr2003-02-052-13/+25 * Upgrade kde-i18n to 3.1. Note that the following modules did not get awill2003-01-294-480/+1450 * Remove a file from pkg-plist.arved2003-01-271-1/+0 * Add the language define so the handbook is actually built formbr2003-01-252-0/+2 * Add a notice about possible crashes if a localized versionmbr2003-01-242-0/+24 * Add german pkg-message and pkg-comment.mbr2003-01-234-0/+156 * - make portlint happierdinoex2003-01-233-4/+8 * Remove obsolete linembr2003-01-231-1/+0 * Update StarOffice6.0 to patchlevel 3mbr2003-01-222-10/+21 * Add USE_LANG support for german port.mbr2003-01-222-0/+10 * Update WWW.arved2003-01-191-1/+1 * Add missing filekris2003-01-141-0/+1 * Update to 3.12arved2003-01-134-20/+190 * Use tabs.obrien2003-01-081-2/+2 * "german" should be the primary category.knu2002-12-092-2/+2 * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2 * Port needs perl to build.edwin2002-11-042-0/+3 * Fix categories to match dir containing port. bsd.port.mk (and portlint)alane2002-10-302-2/+4 * The release notes say:trevor2002-10-151-0/+3 * I remove the linux-netscape6 ports from ports/french, ports/german,trevor2002-10-1415-728/+53 * 1. Removed comments from pkg-plist files per will's request.alane2002-10-114-2/+4 * Catch up to locale renaming (de_DE.ISO_8859-1 -> de.ISO8859-1)kris2002-09-291-3/+1 * BROKEN: Does not buildkris2002-09-211-0/+2 * Connect linux-eagle to build after repo copylioux2002-09-201-0/+1 * * Make german/linux-eagle slave port of cad/linux-eagle.obraun2002-09-194-48/+9 * Upgrade these ports to new versions. While we are here, cleanmbr2002-09-146-12/+42 * texas chainsaw kde2 massacrealane2002-09-111-2/+0 * texas chainsaw kde2 massacrealane2002-09-104-68/+0 * build aspell with dictionarydinoex2002-09-104-0/+22 * Add command line options to wfica wrappers.mbr2002-09-102-2/+2 * Fix a syntax error of the Makefile.okazaki2002-09-061-1/+1 * Assign maintainership to "Thomas E. Zander" <riggs@rrr.de> perlioux2002-08-281-1/+1 * Update to 3.0.3. Not much changed here: [1] i18n PKGNAMEs converted towill2002-08-256-8/+84 * Update to 4.09r2lioux2002-08-213-3/+3 * 1) Add localized help files to the build. Only available for french,mbr2002-08-192-0/+2 * Update 1.1 -> 1.2.nectar2002-08-132-4/+3 * Add OpenOffice.org spelling dictionary ports. They are based on MySpell,mbr2002-08-121-0/+2 * Add OpenOffice.org spelling dictionary ports. They are based on MySpell,mbr2002-08-126-2/+38 * Use MASTERDIRmbr2002-08-032-4/+4 * A trivial modification. ${LINUXBASE}/lib/ld.so, referenced in Makefile,mita2002-08-031-1/+1 * 1. Changed the lib depends on gettext to a build depends. This will meanalane2002-08-032-4/+4 * Bump PORTREVISION. KDE is fragile enough in its dependencies; we don'talane2002-08-022-0/+2 * Chase shlib rev of devel/gettextade2002-08-022-2/+2 * Fix master site.naddy2002-07-311-1/+2 * Fix typo in URLdinoex2002-07-221-1/+1 * Add install-update target to update a installed version withmbr2002-07-171-0/+5 * Upgrade to Service Pack Imbr2002-07-172-11/+31 * Add support for spelling dictionaries. Remove the pkg-plist for thembr2002-07-162-0/+2 * upgrade to 3.11ijliao2002-07-157-288/+593 * Fix MASTER_SITE_SUBDIR.will2002-07-102-2/+2 * Update to 3.0.2 -- full log available in ports/x11/kde3/Makefile,v 1.51.will2002-07-056-70/+32 * Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to thewill2002-06-166-86/+270 * Add German OpenOffice slave portmbr2002-06-153-0/+37 * Update to: unix-connect-0.94dinoex2002-06-082-2/+3 * Explict dependancy on version 7 of linux_base is not needed anymore.obrien2002-05-281-3/+2 * Remove some unused code.trevor2002-05-232-14/+2 * Update to 6.0 finalmbr2002-05-224-71/+54 * Update to 4.09r1.sobomax2002-05-223-60/+102 * Update to 6.2.3. Belatedly, I confirmed that 6.2.2 supportstrevor2002-05-17