1 |
< |
# $MidnightBSD: mports/Makefile,v 1.36 2008/03/31 02:33:20 laffer1 Exp $ |
2 |
< |
# |
1 |
> |
# $MidnightBSD$ |
2 |
|
|
3 |
|
SUBDIR += accessibility |
4 |
|
SUBDIR += archivers |
16 |
|
SUBDIR += finance |
17 |
|
SUBDIR += ftp |
18 |
|
SUBDIR += games |
20 |
– |
SUBDIR += german |
19 |
|
SUBDIR += graphics |
20 |
|
SUBDIR += irc |
21 |
|
SUBDIR += java |
33 |
|
SUBDIR += palm |
34 |
|
SUBDIR += ports-mgmt |
35 |
|
SUBDIR += print |
36 |
+ |
SUBDIR += science |
37 |
|
SUBDIR += security |
38 |
|
SUBDIR += shells |
39 |
|
SUBDIR += sysutils |
85 |
|
@${INDEX_ECHO_1ST} "Generating ${INDEXFILE} - please wait.."; \ |
86 |
|
if [ "${INDEX_PRISTINE}" != "" ]; then \ |
87 |
|
export LOCALBASE=/nonexistentlocal; \ |
89 |
– |
export X11BASE=/nonexistentx; \ |
88 |
|
fi; \ |
89 |
|
tmpdir=`/usr/bin/mktemp -d -t index` || exit 1; \ |
90 |
|
trap "rm -rf $${tmpdir}; exit 1" 1 2 3 5 10 13 15; \ |
95 |
|
echo; \ |
96 |
|
echo "********************************************************************"; \ |
97 |
|
echo "Before reporting this error, verify that you are running a supported"; \ |
98 |
< |
echo "version of MidnightBSD (see http://www.MidnightBSD.org/ports/) and that you"; \ |
99 |
< |
echo "have a complete and up-to-date ports collection. (INDEX builds are"; \ |
102 |
< |
echo "not supported with partial or out-of-date ports collections -- in"; \ |
103 |
< |
echo "particular, if you are using cvsup, you must cvsup the \"ports-all\""; \ |
104 |
< |
echo "collection, and have no \"refuse\" files.) If that is the case, then"; \ |
105 |
< |
echo "report the failure to ports@MidnightBSD.org together with relevant"; \ |
106 |
< |
echo "details of your ports configuration (including MidnightBSD version,"; \ |
107 |
< |
echo "your architecture, your environment, and your /etc/make.conf"; \ |
108 |
< |
echo "settings, especially compiler flags and WITH/WITHOUT settings)."; \ |
98 |
> |
echo "version of MidnightBSD (see http://www.MidnightBSD.org/ports/) "; \ |
99 |
> |
echo "and that you have a complete and up-to-date ports collection. "; \ |
100 |
|
echo; \ |
110 |
– |
echo "Note: the latest pre-generated version of INDEX may be fetched"; \ |
111 |
– |
echo "automatically with \"make fetchindex\"."; \ |
101 |
|
echo "********************************************************************"; \ |
102 |
|
echo; \ |
103 |
|
fi; \ |
107 |
|
sort -t '|' +1 -2 | \ |
108 |
|
sed -e 's.&./.g' > ${INDEXDIR}/${INDEXFILE}.tmp; \ |
109 |
|
if [ "${INDEX_PRISTINE}" != "" ]; then \ |
110 |
< |
sed -e "s,$${LOCALBASE},/usr/local," -e "s,$${X11BASE},/usr/X11R6," \ |
110 |
> |
sed -e "s,$${LOCALBASE},/usr/local," \ |
111 |
|
${INDEXDIR}/${INDEXFILE}.tmp > ${INDEXDIR}/${INDEXFILE}; \ |
112 |
|
else \ |
113 |
|
mv ${INDEXDIR}/${INDEXFILE}.tmp ${INDEXDIR}/${INDEXFILE}; \ |