mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
txt2man : new recipe (#2518)
This commit is contained in:
45
app-text/txt2man/txt2man-1.6.0.recipe
Normal file
45
app-text/txt2man/txt2man-1.6.0.recipe
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
SUMMARY="Scripts to convert regular ASCII text to man pages"
|
||||||
|
DESCRIPTION="Txt2man converts flat ASCII text to man page format. It is a \
|
||||||
|
shell script using gnu awk, that should run on any Unix like system."
|
||||||
|
HOMEPAGE="https://github.com/mvertes/txt2man"
|
||||||
|
COPYRIGHT="2001-2016 Marc Vertes"
|
||||||
|
LICENSE="GNU GPL v2"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://github.com/mvertes/txt2man/archive/txt2man-$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="f6939e333a12e1ecceccaa547b58f4bf901a580cd2d8f822f8c292934c920c99"
|
||||||
|
SOURCE_DIR="txt2man-txt2man-$portVersion"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
txt2man$secondaryArchSuffix = $portVersion
|
||||||
|
cmd:bookman = $portVersion
|
||||||
|
cmd:src2man = $portVersion
|
||||||
|
cmd:txt2man = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
cmd:awk
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:awk
|
||||||
|
cmd:make
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install prefix=$prefix
|
||||||
|
mkdir -p $manDir
|
||||||
|
mv $prefix/share/man/* $manDir
|
||||||
|
rm -rf $prefix/share
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user