From 55db28ce1ed18e2c8c2c088839b006a4f95205f4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 20 Feb 2010 02:27:06 +0100 Subject: [PATCH] Added mdocml-1.9.15 build template. --HG-- extra : convert_revision : 43c0b621993c953f9309fbade9b6ca4d7111ea08 --- srcpkgs/mdocml/patches/destdir_makefile.diff | 37 ++++++++++++++++++++ srcpkgs/mdocml/template | 17 +++++++++ 2 files changed, 54 insertions(+) create mode 100644 srcpkgs/mdocml/patches/destdir_makefile.diff create mode 100644 srcpkgs/mdocml/template diff --git a/srcpkgs/mdocml/patches/destdir_makefile.diff b/srcpkgs/mdocml/patches/destdir_makefile.diff new file mode 100644 index 0000000000..3b63a9d2f4 --- /dev/null +++ b/srcpkgs/mdocml/patches/destdir_makefile.diff @@ -0,0 +1,37 @@ +--- Makefile.orig 2010-02-20 02:10:51.753062051 +0100 ++++ Makefile 2010-02-20 02:12:06.701936683 +0100 +@@ -109,21 +109,21 @@ installwww: www + install -m 0444 mdocml-$(VERSION).md5 $(PREFIX)/snapshots/mdocml.md5 + + install: +- mkdir -p $(BINDIR) +- mkdir -p $(EXAMPLEDIR) +- mkdir -p $(MANDIR)/man1 +- mkdir -p $(MANDIR)/man7 +- $(INSTALL_PROGRAM) mandoc $(BINDIR) +- $(INSTALL_MAN) mandoc.1 $(MANDIR)/man1 +- $(INSTALL_MAN) man.7 mdoc.7 $(MANDIR)/man7 +- $(INSTALL_DATA) example.style.css $(EXAMPLEDIR) ++ mkdir -p $(DESTDIR)$(BINDIR) ++ mkdir -p $(DESTDIR)$(EXAMPLEDIR) ++ mkdir -p $(DESTDIR)$(MANDIR)/man1 ++ mkdir -p $(DESTDIR)$(MANDIR)/man7 ++ $(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR) ++ $(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1 ++ $(INSTALL_MAN) man.7 mdoc.7 $(DESTDIR)$(MANDIR)/man7 ++ $(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR) + + uninstall: +- rm -f $(BINDIR)/mandoc +- rm -f $(MANDIR)/man1/mandoc.1 +- rm -f $(MANDIR)/man7/mdoc.7 +- rm -f $(MANDIR)/man7/man.7 +- rm -f $(EXAMPLEDIR)/example.style.css ++ rm -f $(DESTDIR)$(BINDIR)/mandoc ++ rm -f $(DESTDIR)$(MANDIR)/man1/mandoc.1 ++ rm -f $(DESTDIR)$(MANDIR)/man7/mdoc.7 ++ rm -f $(DESTDIR)$(MANDIR)/man7/man.7 ++ rm -f $(DESTDIR)$(EXAMPLEDIR)/example.style.css + + $(OBJS): config.h + diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template new file mode 100644 index 0000000000..fd8f01454e --- /dev/null +++ b/srcpkgs/mdocml/template @@ -0,0 +1,17 @@ +# Template file for 'mdocml' +pkgname=mdocml +version=1.9.15 +distfiles="http://mdocml.bsd.lv/snapshots/mdocml-$version.tar.gz" +build_style=gnu_makefile +make_install_args="MANDIR=/usr/share/man PREFIX=/usr" +short_desc="mdoc macro compiler" +maintainer="Juan RP " +checksum=0842805c290b6cb5910cfaee5f929dad77c01dad2ef588a6337cf380987c5d29 +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." + +Add_dependency run glibc