Permalink
Browse files

Added mdocml-1.9.15 build template.

--HG--
extra : convert_revision : 43c0b621993c953f9309fbade9b6ca4d7111ea08
  • Loading branch information...
xtraeme committed Feb 20, 2010
1 parent 2f5efb1 commit 55db28ce1ed18e2c8c2c088839b006a4f95205f4
Showing with 54 additions and 0 deletions.
  1. +37 −0 srcpkgs/mdocml/patches/destdir_makefile.diff
  2. +17 −0 srcpkgs/mdocml/template
@@ -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
+
View
@@ -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 <xtraeme@gmail.com>"
+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

0 comments on commit 55db28c

Please sign in to comment.