[71227] trunk/dports/textproc

ryandesign at macports.org ryandesign at macports.org
Sun Sep 5 07:40:02 PDT 2010


Revision: 71227
          http://trac.macports.org/changeset/71227
Author:   ryandesign at macports.org
Date:     2010-09-05 07:40:00 -0700 (Sun, 05 Sep 2010)
Log Message:
-----------
mdocml: new port, version 1.10.5; see #25749

Added Paths:
-----------
    trunk/dports/textproc/mdocml/
    trunk/dports/textproc/mdocml/Portfile
    trunk/dports/textproc/mdocml/files/
    trunk/dports/textproc/mdocml/files/patch-Makefile.diff

Added: trunk/dports/textproc/mdocml/Portfile
===================================================================
--- trunk/dports/textproc/mdocml/Portfile	                        (rev 0)
+++ trunk/dports/textproc/mdocml/Portfile	2010-09-05 14:40:00 UTC (rev 71227)
@@ -0,0 +1,41 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                mdocml
+version             1.10.5
+categories          textproc sysutil
+platforms           darwin
+maintainers         nomaintainer
+
+description         BSD.lv's mldoc - a groff replacement
+
+long_description    mdocml is a collection of tools for \
+                    compiling \"-mdoc\", the roff macro package for \
+                    BSD manual pages. mdocml should deprecate the \
+                    standard GNU roff for displaying -mdoc pages \
+                    whereas the original -mdoc tokens are supported.
+
+homepage            http://mdocml.bsd.lv/
+master_sites        ${homepage}snapshots/
+
+checksums           sha1    20a3ef8806b4107841b91816ab638b2cab7b0a3b \
+                    rmd160  ac1d9736ee67e6f78a382dff1e5ef96f75a45822
+
+patchfiles          patch-Makefile.diff
+
+post-patch {
+    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
+}
+
+use_configure       no
+
+variant universal {}
+if {[variant_isset universal]} {
+    set archflags ${configure.universal_cflags}
+} else {
+    set archflags ${configure.cc_archflags}
+}
+
+build.args          CC="${configure.cc} ${archflags}"


Property changes on: trunk/dports/textproc/mdocml/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/textproc/mdocml/files/patch-Makefile.diff
===================================================================
--- trunk/dports/textproc/mdocml/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/textproc/mdocml/files/patch-Makefile.diff	2010-09-05 14:40:00 UTC (rev 71227)
@@ -0,0 +1,24 @@
+--- Makefile.orig	2010-07-20 09:17:25.000000000 +0200
++++ Makefile	2010-07-20 09:18:24.000000000 +0200
+@@ -1,10 +1,10 @@
+ .SUFFIXES:	.html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.txt .3.txt .7.txt .1.sgml .3.sgml .7.sgml .h .h.html .1.ps .3.ps .7.ps
+ 
+-PREFIX		= /usr/local
++PREFIX		= @PREFIX@
+ BINDIR		= $(PREFIX)/bin
+ INCLUDEDIR	= $(PREFIX)/include
+ LIBDIR		= $(PREFIX)/lib
+-MANDIR		= $(PREFIX)/man
++MANDIR		= $(PREFIX)/share/man
+ EXAMPLEDIR	= $(PREFIX)/share/examples/mandoc
+ INSTALL		= install
+ INSTALL_PROGRAM	= $(INSTALL) -m 0755
+@@ -169,7 +169,7 @@
+ 	mkdir -p $(DESTDIR)$(MANDIR)/man7
+ 	$(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR)
+ 	$(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1
+-	$(INSTALL_MAN) man.7 mdoc.7 roff.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
++	$(INSTALL_MAN) mdoc.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
+ 	$(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR)
+ 
+ uninstall:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100905/b3c257f4/attachment.html>


More information about the macports-changes mailing list