doc/es/ports/Makefile

53 lines
1.2 KiB
Makefile
Raw Normal View History

# $FreeBSD: www/es/ports/Makefile,v 1.8 2000/11/29 23:56:58 kuriyama 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}
.else
${INDEX}: ${cvsindex}
cvs -QR co -p ${PINDEX} > ${INDEX}
.endif
# build the list of available packages only on the
# main FreeBSD machines
hostname!= hostname
.if defined(NOPORTSCVS)
packages.exists:
.else
packages.exists: ${cvsindex}
.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} packages.exists portindex ports.inc .NOTMAIN
rm -f *.sgml
${PORTINDEX} ${INDEX} ${.CURDIR}
install: all
all install clean:
(cd ${.CURDIR} &&${MAKE} ${MAKEFLAGS} -f ${.CURDIR}/Makefile.inc0 ${.TARGET})
.include "${WEB_PREFIX}/share/mk/web.site.mk"