svn commit: r375725 - head/textproc/sgmlformat

Jun Kuriyama kuriyama at FreeBSD.org
Sun Dec 28 14:40:21 UTC 2014


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
 


More information about the svn-ports-head mailing list