svn commit: r384973 - in head/misc: freebsd-doc-en freebsd-doc-es freebsd-doc-ja freebsd-doc-ru

Marc Fonvieille blackend at FreeBSD.org
Wed Apr 29 11:53:36 UTC 2015


Author: blackend (doc committer)
Date: Wed Apr 29 11:53:35 2015
New Revision: 384973
URL: https://svnweb.freebsd.org/changeset/ports/384973

Log:
  Remove stale plist files and update plist creation scheme.
  
  Approved by:	doceng (implicit)

Deleted:
  head/misc/freebsd-doc-es/pkg-plist.extras
  head/misc/freebsd-doc-ja/pkg-plist.extras
  head/misc/freebsd-doc-ru/pkg-plist.extras
Modified:
  head/misc/freebsd-doc-en/Makefile

Modified: head/misc/freebsd-doc-en/Makefile
==============================================================================
--- head/misc/freebsd-doc-en/Makefile	Wed Apr 29 10:15:43 2015	(r384972)
+++ head/misc/freebsd-doc-en/Makefile	Wed Apr 29 11:53:35 2015	(r384973)
@@ -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.


More information about the svn-ports-head mailing list