doc/es/ports/Makefile

61 lines
1.3 KiB
Makefile
Raw Normal View History

# $FreeBSD: www/es/ports/Makefile,v 1.7 1999/11/15 20:37:56 jesusr Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
.if exists(Makefile.inc)
.include "Makefile.inc"
.endif
.if defined(NOPORTSCVS)
${INDEX}: $${PORTSBASE}/${PINDEX}
cp ${PORTSBASE}/${PINDEX} ${INDEX}
${Y2K}: $${PORTSBASE}/${PY2K}
cp ${PORTSBASE}/${PY2K} ${Y2K}
.else
${INDEX}: ${cvsindex}
cvs -QR co -p ${PINDEX} > ${INDEX}
${Y2K}: ${cvsy2k}
cvs -QR co -p ${PY2K} > ${Y2K}
.endif
# build the list of available packages only on the
# main FreeBSD machines
hostname!= hostname
.if defined(NOPORTSCVS)
packages.exists:
.else
packages.exists: ${cvsindex} ${cvsy2k}
.endif
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
.if exists(${.CURDIR}/../../en/ports/packages.exists)
cp ${.CURDIR}/../../en/ports/${.TARGET} .
.else
sh ${.CURDIR}/packages > ${.TARGET}
.endif
.else
touch ${.TARGET}
.endif
Makefile.gen: index.sgml .NOTMAIN
echo DOCS= *.sgml > Makefile.gen
index.sgml: ${INDEX} ${Y2K} packages.exists portindex ports.inc .NOTMAIN
rm -f *.sgml
${PORTINDEX} ${INDEX} ${Y2K} ${.CURDIR}
install: all
all install clean:
(cd ${.CURDIR} &&${MAKE} ${MAKEFLAGS} -f ${.CURDIR}/Makefile.inc0 ${.TARGET})
.include "${WEB_PREFIX}/share/mk/web.site.mk"