mdocml: update to 1.12.3.

This commit is contained in:
Juan RP 2014-02-21 14:44:17 +01:00
parent 9f4e59690a
commit 43a9130394
2 changed files with 5 additions and 40 deletions

View File

@ -1,29 +0,0 @@
--- Makefile.orig 2012-11-23 17:07:53.741714557 +0100
+++ Makefile 2012-11-23 17:08:53.593252859 +0100
@@ -10,7 +10,7 @@
# Specify this if you want to hard-code the operating system to appear
# in the lower-left hand corner of -mdoc manuals.
#
-# CFLAGS += -DOSNAME="\"OpenBSD 4.5\""
+CFLAGS += -DOSNAME="\"Void Linux\""
VERSION = 1.12.1
VDATE = 23 March 2012
@@ -32,7 +32,7 @@ CFLAGS += -DUSE_WCHAR
# If your system supports static binaries only, uncomment this. This
# appears only to be BSD UNIX systems (Mac OS X has no support and Linux
# requires -pthreads for static libdb).
-STATIC = -static
+#STATIC = -static
CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
@@ -57,7 +57,7 @@ INSTALL_MAN = $(INSTALL_DATA)
# However, if you don't have -ldb at all (or it's not native), then
# comment out apropos and mandocdb.
#
-#DBLIB = -ldb
+DBLIB = -ldb
DBBIN = apropos mandocdb man.cgi catman whatis
DBLN = llib-lapropos.ln llib-lmandocdb.ln llib-lman.cgi.ln llib-lcatman.ln

View File

@ -1,25 +1,19 @@
# Template file for 'mdocml'
pkgname=mdocml
version=1.12.1
revision=2
version=1.12.3
revision=1
makedepends="db-devel>=5.3"
conflicts="groff>=0 man-db>=0"
provides="man-${version} roff-${version} apropos-${version} whatis-${version}"
provides="man-${version}_1 roff-${version}_1 apropos-${version}_1 whatis-${version}_1"
short_desc="mdoc macro compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
license="ISC"
homepage="http://mdocml.bsd.lv"
distfiles="${homepage}/snapshots/mdocml-$version.tar.gz"
checksum=12a756cd2901954bccdd25819a16d0ab0501c32c87ad7973570cd65608d32891
long_desc="
mdocml is a suite of tools compiling -mdoc, the roff macro package of
choice for BSD manual pages, and -man, the predominant historical package
for UNIX manuals. The mission of mdocml is to deprecate groff, the GNU roff
implementation, for displaying -mdoc pages whilst providing token support
for -man."
checksum=8ae7f7d471d52313707c4d78b25846dc4edca395b36ad20f24dead5399c13ee6
do_build() {
make ${makejobs}
make DBLIB=-ldb STATIC= ${makejobs}
}
do_install() {