From 31652a8b9682d7700efbe5171e526f07ed2c0faf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 17 Jun 2011 09:02:18 +0200 Subject: [PATCH] Added ISOEnts-1986 build template, required by the upcoming docbook package. --- srcpkgs/ISOEnts/files/catalog | 117 ++++++++++++++++++++++++++++++++++ srcpkgs/ISOEnts/template | 54 ++++++++++++++++ 2 files changed, 171 insertions(+) create mode 100644 srcpkgs/ISOEnts/files/catalog create mode 100644 srcpkgs/ISOEnts/template diff --git a/srcpkgs/ISOEnts/files/catalog b/srcpkgs/ISOEnts/files/catalog new file mode 100644 index 00000000000..a56e88ed8a0 --- /dev/null +++ b/srcpkgs/ISOEnts/files/catalog @@ -0,0 +1,117 @@ +-- ISO general entities -- + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" +"ISOamsa" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" +"ISOamsb" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" +"ISOamsc" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" +"ISOamsn" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" +"ISOamso" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" +"ISOamsr" + +PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" +"ISObox" + +PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" +"ISOcyr1" + +PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" +"ISOcyr2" + +PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" +"ISOdia" + +PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" +"ISOgrk1" + +PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" +"ISOgrk2" + +PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" +"ISOgrk3" + +PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" +"ISOgrk4" + +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" +"ISOlat1" + +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" +"ISOlat2" + +PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" +"ISOnum" + +PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" +"ISOpub" + +PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" +"ISOtech" + +-- Alternate names sometimes used -- + +PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Arrow Relations//EN" +"ISOamsa" + +PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Binary Operators//EN" +"ISOamsb" + +PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Delimiters//EN" +"ISOamsc" + +PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Negated Relations//EN" +"ISOamsn" + +PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Ordinary//EN" +"ISOamso" + +PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Relations//EN" +"ISOamsr" + +PUBLIC "ISO 8879-1986//ENTITIES Box and Line Drawing//EN" +"ISObox" + +PUBLIC "ISO 8879-1986//ENTITIES Russian Cyrillic//EN" +"ISOcyr1" + +PUBLIC "ISO 8879-1986//ENTITIES Non-Russian Cyrillic//EN" +"ISOcyr2" + +PUBLIC "ISO 8879-1986//ENTITIES Diacritical Marks//EN" +"ISOdia" + +PUBLIC "ISO 8879-1986//ENTITIES Greek Letters//EN" +"ISOgrk1" + +PUBLIC "ISO 8879-1986//ENTITIES Monotoniko Greek//EN" +"ISOgrk2" + +PUBLIC "ISO 8879-1986//ENTITIES Greek Symbols//EN" +"ISOgrk3" + +PUBLIC "ISO 8879-1986//ENTITIES Alternative Greek Symbols//EN" +"ISOgrk4" + +PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN" +"ISOlat1" + +PUBLIC "ISO 8879-1986//ENTITIES Added Latin 2//EN" +"ISOlat2" + +PUBLIC "ISO 8879-1986//ENTITIES Numeric and Special Graphic//EN" +"ISOnum" + +PUBLIC "ISO 8879-1986//ENTITIES Publishing//EN" +"ISOpub" + +PUBLIC "ISO 8879-1986//ENTITIES General Technical//EN" +"ISOtech" diff --git a/srcpkgs/ISOEnts/template b/srcpkgs/ISOEnts/template new file mode 100644 index 00000000000..9304dd9f838 --- /dev/null +++ b/srcpkgs/ISOEnts/template @@ -0,0 +1,54 @@ +# Template file for 'ISOEnts' +pkgname=ISOEnts +version=1986 +distfiles="http://www.oasis-open.org/cover/${pkgname}.zip" +build_style=custom-install +short_desc="Character entity sets from ISO 8879:1986 (SGML)" +maintainer="Juan RP " +checksum=dce4359a3996ed2fd33ad5eaa11a9bcfc24b5b06992e24295132b06db19a99b2 +long_desc=" + Nineteen ISO 8879:1986 character entity sets used by many DTDs: + + Added Latin 1 + Added Latin 2 + Added Math Symbols: Arrow Relations + Added Math Symbols: Binary Operators + Added Math Symbols: Delimiters + Added Math Symbols: Negated Relations + Added Math Symbols: Ordinary + Added Math Symbols: Relations, Box and Line Drawing + Alternative Greek Symbols + Diacritical Marks + General Technical + Greek Letters + Greek Symbols + Monotoniko Greek + Non-Russian Cyrillic + Numeric and Special Graphic + Publishing + Russian Cyrillic" + +noarch=yes +noextract=yes + +Add_dependency full xmlcatmgr +export sgml_entries="CATALOG /usr/share/sgml/iso8879/catalog --" + +do_install() +{ + local dir=${DESTDIR}/usr/share/sgml/iso8879 + + install -d ${dir} + bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}.zip -C ${dir} + install -m644 ${FILESDIR}/catalog ${dir} +} + +post_stow() +{ + cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install +} + +pre_remove() +{ + cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove +}