--- trunk/mage/usr/share/doc/mage/template.mage 2012/01/13 13:32:22 1636 +++ trunk/mage/usr/share/doc/mage/template.mage 2012/01/13 18:20:13 1637 @@ -1,8 +1,14 @@ # mage-script app-dir/template.mage +# +# Usually you don't need generate mage files by yourself. +# They can be autogenerated with smage2. +# smage2 only-regen-tree /path/to/smage2/file +# PKGNAME="template" STATE="stable|unstable|old" -#PKGTYPE="sources|virtual" + +#PKGTYPE="virtual" DESCRIPTION="description" HOMEPAGE="http://www.foobar.foo/" @@ -11,10 +17,12 @@ SDEPEND=">= sys-dev/foo" PROVIDE="virtual/x11" -preinstall() { +preinstall() +{ foo } -postinstall() { +postinstall() +{ foo }