aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/freebsd-doc-en/Makefile7
-rw-r--r--misc/freebsd-doc-es/pkg-plist.extras3
-rw-r--r--misc/freebsd-doc-ja/pkg-plist.extras5
-rw-r--r--misc/freebsd-doc-ru/pkg-plist.extras5
4 files changed, 6 insertions, 14 deletions
diff --git a/misc/freebsd-doc-en/Makefile b/misc/freebsd-doc-en/Makefile
index 81e315a6b278..7b45f4579ec2 100644
--- a/misc/freebsd-doc-en/Makefile
+++ b/misc/freebsd-doc-en/Makefile
@@ -3,6 +3,7 @@
PORTNAME= freebsd-doc
PORTVERSION= 46616
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= misc docs
MASTER_SITES= LOCAL/blackend
@@ -80,7 +81,11 @@ PLIST_FORMATS+= html-common
PLIST_FORMATS+= extras common
pre-build:
- ${CAT} ${PLIST_FORMATS:S,^,${.CURDIR}/pkg-plist.,} > ${PLIST}
+.for i in ${PLIST_FORMATS:S,^,${.CURDIR}/pkg-plist.,}
+ if ${TEST} -f ${i}; then \
+ ${CAT} ${i} >> ${PLIST}; \
+ fi
+.endfor
# For HTML files, images links are hardcoded during the build
# with absolute pathnames. Make these pathnames relative.
diff --git a/misc/freebsd-doc-es/pkg-plist.extras b/misc/freebsd-doc-es/pkg-plist.extras
deleted file mode 100644
index e21eb21590b2..000000000000
--- a/misc/freebsd-doc-es/pkg-plist.extras
+++ /dev/null
@@ -1,3 +0,0 @@
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/fase_1.sh
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/fase_2.sh
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/fase_3.mk
diff --git a/misc/freebsd-doc-ja/pkg-plist.extras b/misc/freebsd-doc-ja/pkg-plist.extras
deleted file mode 100644
index 84676a9fb93e..000000000000
--- a/misc/freebsd-doc-ja/pkg-plist.extras
+++ /dev/null
@@ -1,5 +0,0 @@
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_1.conf.default
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_1.sh
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_2.conf.default
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_2.sh
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_3.mk
diff --git a/misc/freebsd-doc-ru/pkg-plist.extras b/misc/freebsd-doc-ru/pkg-plist.extras
deleted file mode 100644
index 84676a9fb93e..000000000000
--- a/misc/freebsd-doc-ru/pkg-plist.extras
+++ /dev/null
@@ -1,5 +0,0 @@
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_1.conf.default
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_1.sh
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_2.conf.default
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_2.sh
-%%DOCSDIR%%/%%DOCLANG%%/articles/fbsd-from-scratch/stage_3.mk