Added ISOEnts-1986 build template, required by the upcoming docbook package.

This commit is contained in:
Juan RP 2011-06-17 09:02:18 +02:00
parent e3783da9a6
commit 31652a8b96
2 changed files with 171 additions and 0 deletions

View file

@ -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"

54
srcpkgs/ISOEnts/template Normal file
View file

@ -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 <xtraeme@gmail.com>"
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
}