diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-07-07 15:14:43 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-07-07 15:14:43 +0000 |
commit | 08c424923eab801bcd0fb031a08addc746e60ccc (patch) | |
tree | cb01a7b56d4adb5ca09ad8a401bc5cd6dc2429a7 /dev-util/pccts | |
parent | Fixed up version from gontran (diff) | |
download | gentoo-2-08c424923eab801bcd0fb031a08addc746e60ccc.tar.gz gentoo-2-08c424923eab801bcd0fb031a08addc746e60ccc.tar.bz2 gentoo-2-08c424923eab801bcd0fb031a08addc746e60ccc.zip |
*** empty log message ***
Diffstat (limited to 'dev-util/pccts')
-rw-r--r-- | dev-util/pccts/files/digest-pccts-1.33.24 | 1 | ||||
-rw-r--r-- | dev-util/pccts/pccts-1.33.24.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/pccts/files/digest-pccts-1.33.24 b/dev-util/pccts/files/digest-pccts-1.33.24 new file mode 100644 index 000000000000..8323202acd81 --- /dev/null +++ b/dev-util/pccts/files/digest-pccts-1.33.24 @@ -0,0 +1 @@ +MD5 c2b9f48b029fdc636c1dd7b1df716478 pccts133mr24.zip diff --git a/dev-util/pccts/pccts-1.33.24.ebuild b/dev-util/pccts/pccts-1.33.24.ebuild new file mode 100644 index 000000000000..316f61f08524 --- /dev/null +++ b/dev-util/pccts/pccts-1.33.24.ebuild @@ -0,0 +1,57 @@ +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Frédéric Brin <duckx@libertysurf.fr>, Jonas Berlin <jonas@berlin.vg> + +A="pccts133mr24.zip" +S=${WORKDIR}/pccts +DESCRIPTION="An embedded C++ parser generator" +SRC_URI="http://www.polhode.com/${A}" +HOMEPAGE="http://www.polhode.com/" + +DEPEND="app-arch/unzip" + +src_unpack() { + unpack ${A} + + echo Patching support/genmk/genmk.c.. + cp ${S}/support/genmk/genmk.c ${T}/genmk.c + sed 's,/usr/local/pccts,/usr/lib/pccts,' ${T}/genmk.c > ${S}/support/genmk/genmk.c +} + +src_compile() { + try make MAKE=\""make ${MAKEOPTS}"\" COPT=\""${CFLAGS}"\" +} + +src_install() { + + # The reason why stuff goes to /usr/lib is that there are + # platform-dependent binaries being installed. + + # The reason why I put everything else (source code templates + # etc) into /usr/lib too is to avoid breaking makefiles + # generated by the "genmk" tool (which is included and already + # patched a bit). + + # main binaries + exeinto /usr/lib/pccts/bin + doexe bin/{antlr,dlg,genmk,sor} + + # main includes + insinto /usr/lib/pccts/include + doins h/* + + # sorcerer includes + insinto /usr/lib/pccts/sorcerer/include + doins sorcerer/h/* + + # sorcerer libraries + insinto /usr/lib/pccts/sorcerer/lib + doins sorcerer/lib/* + + # documentation + dodoc CHANGES* KNOWN_PROBLEMS* MPW_Read_Me README RIGHTS history.txt + newdoc sorcerer/UPDATES sorcerer-UPDATES + newdoc sorcerer/README sorcerer-README + + # manual pages + doman dlg/dlg.1 antlr/antlr.1 +} |