svn commit: r303830 - head/security/vuxml

Eitan Adler eadler at FreeBSD.org
Fri Sep 7 21:34:04 UTC 2012


Author: eadler
Date: Fri Sep  7 21:34:03 2012
New Revision: 303830
URL: http://svn.freebsd.org/changeset/ports/303830

Log:
  Add a sanity check to ensure vuxml is actually installed prior to performing
  the tidy step in validate. This step actually requires just the dependancies
  but the full validate requires that vuxml be installed.
  
  Reviewed by:	simon
  Approved by:	secteam (implicit)

Modified:
  head/security/vuxml/Makefile

Modified: head/security/vuxml/Makefile
==============================================================================
--- head/security/vuxml/Makefile	Fri Sep  7 21:11:32 2012	(r303829)
+++ head/security/vuxml/Makefile	Fri Sep  7 21:34:03 2012	(r303830)
@@ -86,6 +86,11 @@ validate: tidy
 	fi
 
 tidy: vuln.xml
+	@if [ ! -e ${LOCALBASE}/share/xml/dtd/vuxml/catalog.xml ]; \
+	then \
+		echo "Please install the VuXML port prior to running make validate/tidy."; \
+		exit 1; \
+	fi
 	${SH} ${FILESDIR}/tidy.sh "${FILESDIR}/tidy.xsl" "${VUXML_FILE}" > "${VUXML_FILE}.tidy"
 
 newentry:



More information about the svn-ports-all mailing list