diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-12 11:12:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-12 11:12:54 +0000 |
commit | 99d7d8fe29928dcbe72e1166424db141a13b0103 (patch) | |
tree | 6d35a906137e3bf65702f154b4bae4aa5e099142 /main/mdocml/APKBUILD | |
parent | 924e653655223ffbb3a028f101547e4f85921f95 (diff) | |
download | aports-99d7d8fe29928dcbe72e1166424db141a13b0103.tar.bz2 aports-99d7d8fe29928dcbe72e1166424db141a13b0103.tar.xz |
main/mdocml: moved from testing
Diffstat (limited to 'main/mdocml/APKBUILD')
-rw-r--r-- | main/mdocml/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/mdocml/APKBUILD b/main/mdocml/APKBUILD new file mode 100644 index 000000000..c9dc85ac2 --- /dev/null +++ b/main/mdocml/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=mdocml +pkgver=1.11.4 +pkgrel=0 +pkgdesc="mdoc/man compiler" +url="http://mdocml.bsd.lv/" +arch="all" +license="BSD" +depends= +makedepends= +install= +subpackages="$pkgname-doc $pkgname-dev $pkgname-man" +source="http://mdocml.bsd.lv/snapshots/mdocml-$pkgver.tar.gz man.sh" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + make PREFIX=/usr || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" PREFIX=/usr MANDIR=/usr/share/man \ + EXAMPLEDIR=/usr/share/doc/mdocml/examples install +} + +man() { + cd "$srcdir" + depends="mdocml" + install -Dm 755 man.sh "$subpkgdir"/usr/bin/man || return 1 +} + +md5sums="ba8af3994706dac47ef904f0b94dc396 mdocml-1.11.4.tar.gz +d60a6a3ea949f03e7fb90dbe1ca74e1f man.sh" |