diff options
author | Tavis Ormandy <taviso@gentoo.org> | 2005-11-11 15:39:41 +0000 |
---|---|---|
committer | Tavis Ormandy <taviso@gentoo.org> | 2005-11-11 15:39:41 +0000 |
commit | 6d0c97ba9d571182f1587bf592efddc272035fe6 (patch) | |
tree | 5ccede5ed8ff49ab7ffb90690963b92982434f7c /dev-util/skelgen | |
parent | new version. remove scrollkeeper hack, move G2CONF into pkg_setup, add spell... (diff) | |
download | historical-6d0c97ba9d571182f1587bf592efddc272035fe6.tar.gz historical-6d0c97ba9d571182f1587bf592efddc272035fe6.tar.bz2 historical-6d0c97ba9d571182f1587bf592efddc272035fe6.zip |
initial import
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'dev-util/skelgen')
-rw-r--r-- | dev-util/skelgen/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/skelgen/Manifest | 4 | ||||
-rw-r--r-- | dev-util/skelgen/files/digest-skelgen-1.2 | 1 | ||||
-rw-r--r-- | dev-util/skelgen/metadata.xml | 8 | ||||
-rw-r--r-- | dev-util/skelgen/skelgen-1.2.ebuild | 57 |
5 files changed, 80 insertions, 0 deletions
diff --git a/dev-util/skelgen/ChangeLog b/dev-util/skelgen/ChangeLog new file mode 100644 index 000000000000..9faf733789b1 --- /dev/null +++ b/dev-util/skelgen/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/skelgen +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/ChangeLog,v 1.1 2005/11/11 15:39:41 taviso Exp $ + +*skelgen-1.2 (11 Nov 2005) + + 11 Nov 2005; Tavis Ormandy <taviso@gentoo.org> +metadata.xml, + +skelgen-1.2.ebuild: + initial import. + diff --git a/dev-util/skelgen/Manifest b/dev-util/skelgen/Manifest new file mode 100644 index 000000000000..74b231b512ca --- /dev/null +++ b/dev-util/skelgen/Manifest @@ -0,0 +1,4 @@ +MD5 748186cc7dad461187bc9cfba71128e2 skelgen-1.2.ebuild 1576 +MD5 bd903b1ee289e8e42885cc21cf44a79b ChangeLog 339 +MD5 8fc22f08ecb2e292e60ce7553c58d0c2 metadata.xml 222 +MD5 aae4f1803ec82a8c50fd0a418a14f832 files/digest-skelgen-1.2 97 diff --git a/dev-util/skelgen/files/digest-skelgen-1.2 b/dev-util/skelgen/files/digest-skelgen-1.2 new file mode 100644 index 000000000000..2d19a00dcabc --- /dev/null +++ b/dev-util/skelgen/files/digest-skelgen-1.2 @@ -0,0 +1 @@ +MD5 109cbad645f07d78f3537d755ac5b540 Fluid_Studios_Skeleton_Source_File_Generator-1.2.zip 218041 diff --git a/dev-util/skelgen/metadata.xml b/dev-util/skelgen/metadata.xml new file mode 100644 index 000000000000..99ed8a0c9430 --- /dev/null +++ b/dev-util/skelgen/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>taviso@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-util/skelgen/skelgen-1.2.ebuild b/dev-util/skelgen/skelgen-1.2.ebuild new file mode 100644 index 000000000000..902764e55409 --- /dev/null +++ b/dev-util/skelgen/skelgen-1.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/skelgen-1.2.ebuild,v 1.1 2005/11/11 15:39:41 taviso Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="A Skeleton Source File Generator" +HOMEPAGE="http://www.fluidstudios.com/" +SRC_URI="http://www.fluidstudios.com/pub/FluidStudios/Tools/Fluid_Studios_Skeleton_Source_File_Generator-${PV}.zip" +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="app-arch/unzip" +RDEPEND="" +S=${WORKDIR}/source + +# where macros and templates are installed +SGPREFIX="/usr/share/skelgen" + +src_unpack() { + # by default skelgen looks in pwd for macros and templates + # this changes it to look in /usr/share/skelgen. + # skelgen allows users to override the path with an env var or + # command line argument. + unpack ${A}; cd ${S} + einfo "Setting prefix..." + ebegin " ${SGPREFIX}" + sed -i 's#\(prefix\)(".");#\1("'${SGPREIX}'");#g' main.cpp || { + einfo $? + die "sed failed" + } + eend $? + einfo "...done." +} + +src_compile() { + # Makefile uses $STRIPPER to strip executable, so use true + # instead and let portage handle that. + append-flags -c + emake COMPILER_OPTIONS="${CXXFLAGS}" STRIPPER="true" || die +} + +src_install() { + dobin skelgen + dodoc readme.txt + + dodir ${SGPREFIX} + dodir ${SGPREFIX}/macros + dodir ${SGPREFIX}/templates + + insinto ${SGPREFIX}/macros + doins macros/{common.macro,personal.macro,work.macro} + + insinto ${SGPREFIX}/templates + doins templates/{default.{cpp,h},fluid.{cpp,h},gpl.{c,h},skelgen.{cpp,h}} +} |