From a715db47273a1662dfcec6bdc1e91b5e184bc5b2 Mon Sep 17 00:00:00 2001 From: blackend Date: Wed, 29 Apr 2015 11:53:35 +0000 Subject: Remove stale plist files and update plist creation scheme. Approved by: doceng (implicit) --- misc/freebsd-doc-en/Makefile | 7 ++++++- misc/freebsd-doc-es/pkg-plist.extras | 3 --- misc/freebsd-doc-ja/pkg-plist.extras | 5 ----- misc/freebsd-doc-ru/pkg-plist.extras | 5 ----- 4 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 misc/freebsd-doc-es/pkg-plist.extras delete mode 100644 misc/freebsd-doc-ja/pkg-plist.extras delete mode 100644 misc/freebsd-doc-ru/pkg-plist.extras (limited to 'misc') 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 -- cgit