#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
COMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/project/$(COMPONENT_NAME)/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
# on discussion from ARC pre-review.
#
# pkgdepend doesn't like the first line of a Python script to be:
#
$(GSED) -i -e 's?env python?python$(PYTHON_VERSION)?' \
$(GSED) -i -e 's?env python?python$(PYTHON_VERSION)?' \
$(PROTOUSRBINDIR)/a2x.py;
# common targets
# programs which are not automatically available on Solaris (latex, abc2ly
# and lilypad), so these tests will output messages of the form:
# latex2png.py: failed command: latex ...
# music2png.py: failed command: abc2ly ...
# music2png.py: failed command: lilypond ...
if [ $$? -eq 0 ] ; \
then print "asciidocapi test passed"; \
else print "asciidocapi test failed"; \
fi; \
'-n ' \
'-e "/passed/p" ' \
'-e "/^[1-9]: /p" ' \
'-e "/^[1-9][0-9]: /p" ' \
'-e "/^SOURCE/p" ' \
'-e "/^PASSED/p" ' \
'-e "/^FAILED/p" ' \
'-e "/^TOTAL/p" '
if [ $$? -eq 0 ] ; \
then print "asciidocapi test passed"; \
else print "asciidocapi test failed"; \
fi; \