diff --git a/ru/ports/Makefile b/ru/ports/Makefile index bf04deb0f0..83e49e42ab 100644 --- a/ru/ports/Makefile +++ b/ru/ports/Makefile @@ -1,94 +1,94 @@ # # The FreeBSD Russian Documentation Project # -# $FreeBSD$ +# $FreeBSD: www/ru/ports/Makefile,v 1.5 2003/12/30 18:27:40 andy Exp $ # $FreeBSDru: frdp/www/ru/ports/Makefile,v 1.6 2003/12/30 18:26:40 andy Exp $ # # Original revision: 1.36 # .if exists(../Makefile.conf) .include "../Makefile.conf" .endif .if exists(../Makefile.inc) .include "../Makefile.inc" .endif .if exists(../../en/ports/Makefile.inc) .include "../../en/ports/Makefile.inc" .endif CVS_READONLY?= YES CVS_OPT+= -Q .if !empty(CVS_READONLY) CVS_OPT+= -R .endif # # This hack is allows to build www/ tree for case when ports/ located # in other repository, for example Repository of Translation Project # .if defined(PORTSCVSROOT) && !empty(PORTSCVSROOT) CVS_OPT+= -d ${PORTSCVSROOT} .endif .if defined(NOPORTSCVS) ${INDEX}: $${PORTSBASE}/${PINDEX} ${CP} ${PORTSBASE}/${PINDEX} ${INDEX} .else ${INDEX}: ${CVS} ${CVS_OPT} co -p ${PINDEX} > ${INDEX} .endif # build the list of available packages only on the # main FreeBSD machines hostname!= hostname # # don't build the packages links if NO_PACKAGES_LINK # is set and not empty. # # XXX: you can set NO_PACKAGES_LINK to your hostname to # test the packages link generation # .if defined(NO_PACKAGES_LINK) && !empty(NO_PACKAGES_LINK) hostname= ${NO_PACKAGES_LINK} .endif packages.exists: .if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org" || ${hostname} == "www.freebsd.org" .if exists(${.CURDIR}/../../en/ports/packages.exists) ${CP} ${.CURDIR}/../../en/ports/${.TARGET} ${.CURDIR} .else @if ${SH} ${.CURDIR}/../../en/ports/packages > ${.TARGET}.temp; then \ ${MV} ${.TARGET}.temp ${.TARGET}; \ else \ ${RM} ${.TARGET}.temp; ${TOUCH} ${.TARGET}; \ fi; .endif .else ${TOUCH} ${.TARGET} .endif Makefile.gen: index.sgml .NOTMAIN ${ECHO_CMD} DOCS= *.sgml > Makefile.gen index.sgml: ${INDEX} categories packages.exists portindex ports.inc .NOTMAIN ${RM} -f *.sgml ${PORTINDEX} ${INDEX} ${.CURDIR} install: all beforeinstall all install clean: cd ${.CURDIR}; \ ${MAKE} ${MAKEFLAGS} -f ${.CURDIR}/Makefile.inc0 ${.TARGET} -.if defined(WITH_PORTS_GROWTH) - cd growth; \ - ${MAKE} ${MAKEFLAGS} ${.TARGET} -beforeinstall: -.else +#.if defined(WITH_PORTS_GROWTH) +# cd growth; \ +# ${MAKE} ${MAKEFLAGS} ${.TARGET} +#beforeinstall: +#.else beforeinstall: ${PERL} -pi -e 's/href=\"growth/href=\"http:\/\/www.FreeBSD.org\/ports\/growth/' index.html -.endif +#.endif .include "${WEB_PREFIX}/share/mk/web.site.mk"