Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2014 14:40:20 +0000 (UTC)
From:      Jun Kuriyama <kuriyama@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375725 - head/textproc/sgmlformat
Message-ID:  <201412281440.sBSEeKdH090245@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kuriyama
Date: Sun Dec 28 14:40:19 2014
New Revision: 375725
URL: https://svnweb.freebsd.org/changeset/ports/375725
QAT: https://qat.redports.org/buildarchive/r375725/

Log:
  - fix shebang line reliably.
  
  PR:		ports/196043
  Submitted by:	mandree

Modified:
  head/textproc/sgmlformat/Makefile

Modified: head/textproc/sgmlformat/Makefile
==============================================================================
--- head/textproc/sgmlformat/Makefile	Sun Dec 28 14:07:12 2014	(r375724)
+++ head/textproc/sgmlformat/Makefile	Sun Dec 28 14:40:19 2014	(r375725)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sgmlformat
 PORTVERSION=	1.7
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	textproc print
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	kuriyama
@@ -40,6 +40,9 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
 .endif
 
+post-build:
+	${REINPLACE_CMD} -E 's#(/usr|${PREFIX})/bin/perl#${PERL}#' ${WRKSRC}/sgmlfmt/sgmlfmt
+
 pre-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/sgml/transpec
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412281440.sBSEeKdH090245>