svn commit: r320637 - head/textproc/gtk-doc
Koop Mast
kwm at FreeBSD.org
Tue Jun 11 20:40:14 UTC 2013
Author: kwm
Date: Tue Jun 11 20:40:14 2013
New Revision: 320637
URL: http://svnweb.freebsd.org/changeset/ports/320637
Log:
Fix perl paths to LOCALBASE with shebangfix, manualy fix sh scripts with
s,/bin/bash,/bin/sh,.
Trim Makefile header.
Modified:
head/textproc/gtk-doc/Makefile (contents, props changed)
Modified: head/textproc/gtk-doc/Makefile
==============================================================================
--- head/textproc/gtk-doc/Makefile Tue Jun 11 20:27:48 2013 (r320636)
+++ head/textproc/gtk-doc/Makefile Tue Jun 11 20:40:14 2013 (r320637)
@@ -1,7 +1,4 @@
-# New ports collection makefile for: gtk-doc
-# Date created: 8 March 2001
-# Whom: fenner
-#
+# Created by: fenner
# $FreeBSD$
# $MCom: ports-stable/textproc/gtk-doc/Makefile,v 1.1 2010/06/24 09:20:01 kwm Exp $
@@ -32,14 +29,24 @@ USE_BZIP2= yes
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USES= pathfix shebangfix
USE_GNOME= gnomehack gnomeprefix libxslt gnomedocutils
INSTALLS_OMF= yes
CONFIGURE_ARGS= --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
+SHEBANG_FILES= tools/docpercentages.pl
+
PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
CATALOG_DIR=${CATALOG_DIR}
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \
+ -e 's|#!/bin/bash|#!/bin/sh|g' \
+ ${WRKSRC}/tests/tools.sh.in \
+ ${WRKSRC}/tests/fail.sh \
+ ${WRKSRC}/tests/sanity.sh
+
post-install:
-@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${CATALOG_DIR}/gtk-doc.cat
More information about the svn-ports-all
mailing list