aboutsummaryrefslogtreecommitdiff
path: root/ru_RU.KOI8-R/htdocs/ports/Makefile
diff options
context:
space:
mode:
authorSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2021-01-25 23:31:29 +0000
committerSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2021-01-25 23:31:29 +0000
commit989d921f5d4ac8d8b7c831c13b8954ad1901be24 (patch)
treea5d768f9af4b55422fdf5b17064879ae1c7ce032 /ru_RU.KOI8-R/htdocs/ports/Makefile
parent0cff342f42461c5081b98bce7581f43df319e4f4 (diff)
downloaddoc-989d921f5d4ac8d8b7c831c13b8954ad1901be24.tar.gz
doc-989d921f5d4ac8d8b7c831c13b8954ad1901be24.zip
Migrate doc to Hugo/AsciiDoctor
I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
Diffstat (limited to 'ru_RU.KOI8-R/htdocs/ports/Makefile')
-rw-r--r--ru_RU.KOI8-R/htdocs/ports/Makefile98
1 files changed, 0 insertions, 98 deletions
diff --git a/ru_RU.KOI8-R/htdocs/ports/Makefile b/ru_RU.KOI8-R/htdocs/ports/Makefile
deleted file mode 100644
index c2de94ffb1..0000000000
--- a/ru_RU.KOI8-R/htdocs/ports/Makefile
+++ /dev/null
@@ -1,98 +0,0 @@
-#
-# The FreeBSD Russian Documentation Project
-#
-# $FreeBSD$
-# $FreeBSDru: frdp/www/ru/ports/Makefile,v 1.9 2004/03/23 21:09:19 phantom Exp $
-#
-# Original revision: r39632
-#
-
-.if exists(../Makefile.conf)
-.include "../Makefile.conf"
-.endif
-.if exists(../Makefile.inc)
-.include "../Makefile.inc"
-.endif
-.if exists(Makefile.inc)
-.include "Makefile.inc"
-.endif
-
-FETCH_OPT?= -am
-
-.if defined(PINDEX_OVERRIDE)
-${INDEX}: ${PINDEX_OVERRIDE}
- ${CP} ${PINDEX_OVERRIDE} ${INDEX}
-.elif defined(NOPORTSNET)
-${INDEX}: $${PORTSBASE}/${PINDEX}
- ${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
-.else
-${INDEX}:
- ${FETCH} ${FETCH_OPT} -o ${INDEX}.bz2 ${INDEXURI}.bz2
- ${BUNZIP2} ${INDEX}.bz2
-.endif
-
-HOSTNAME!= hostname
-.if ${HOSTNAME} == "freefall.freebsd.org" || ${HOSTNAME} == "build-web.ysv.freebsd.org"
-CLUSTER_MACHINE= YES
-.endif
-
-# Build the list of available packages, but only on the main FreeBSD machines.
-# Don't build the list if NO_PACKAGES_LINK is set and not empty.
-#
-packages.exists:
-.if defined(CLUSTER_MACHINE) && (!defined(NO_PACKAGES_LINK) || empty(NO_PACKAGES_LINK))
- @if ${SH} ${.CURDIR}/packages > ${.TARGET}.temp; then \
- ${MV} ${.TARGET}.temp ${.TARGET}; \
- else \
- ${RM} ${.TARGET}.temp; ${TOUCH} ${.TARGET}; \
- fi;
-.else
- ${TOUCH} ${.TARGET}
-.endif
-
-Makefile.gen: categories-alpha.xml categories-grouped.xml index.xml \
- installing.xml master-index.xml references.xml searching.xml \
- statistics.ent updating.xml .NOTMAIN
- ( ${ECHO_CMD} DOCS= *.xml | ${SED} 's|catalog-cwd\.xml||g';\
- ${ECHO_CMD} -n "DYNAMIC_DOCS= ";\
- ${ECHO_CMD} -n " categories-alpha.xml";\
- ${ECHO_CMD} -n " categories-grouped.xml";\
- ${ECHO_CMD} -n " master-index.xml";\
- ${ECHO_CMD} -n " statistics.ent";\
- ) > Makefile.gen
- for categoryfile in ${CATEGORYLIST}; do \
- ${ECHO_CMD} -n " $$categoryfile.xml" >> Makefile.gen; \
- done
- ${ECHO_CMD} >> Makefile.gen
-
-# set dependencies for parallel build
-categories-grouped.xml master-index.xml statistics.ent: categories-alpha.xml
-
-# this builds: categories-alpha.xml, categories-grouped.xml,
-# master-index.xml, statistics.ent, <category>.xml
-CATEGORYLIST=`grep "^[a-z]" categories | awk -F, '{print $$1}'`
-categories-alpha.xml: ${INDEX} categories categories.descriptions \
- packages.exists portindex ports.ent .NOTMAIN
- ${RM} -f categories-alpha.xml categories-grouped.xml \
- master-index.xml statistics.ent
- for categoryfile in ${CATEGORYLIST}; do \
- rm -f "$$categoryfile.xml"; \
- done
- ${PORTINDEX} ${INDEX} ${.CURDIR}
-
-install: Makefile.gen index.html references.html 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
-beforeinstall:
- ${SED} -i "" -e 's,href="growth,href="http://www.FreeBSD.org/ports/growth,' index.html
- ${SED} -i "" -e 's,href="growth,href="http://www.FreeBSD.org/ports/growth,' references.html
-.endif
-
-.include "${DOC_PREFIX}/share/mk/web.site.mk"