Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 20:00:44 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341266 - head/textproc/eqe
Message-ID:  <201401262000.s0QK0iHN005177@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Sun Jan 26 20:00:44 2014
New Revision: 341266
URL: http://svnweb.freebsd.org/changeset/ports/341266
QAT: https://qat.redports.org/buildarchive/r341266/

Log:
  Convert to staging.
  
  Sponsored by:	Absolight

Modified:
  head/textproc/eqe/Makefile
  head/textproc/eqe/pkg-plist

Modified: head/textproc/eqe/Makefile
==============================================================================
--- head/textproc/eqe/Makefile	Sun Jan 26 19:53:07 2014	(r341265)
+++ head/textproc/eqe/Makefile	Sun Jan 26 20:00:44 2014	(r341266)
@@ -15,19 +15,17 @@ BUILD_DEPENDS=	p5-Gtk2>=0:${PORTSDIR}/x1
 		p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
 		Magick++-config:${PORTSDIR}/graphics/ImageMagick
 
-USES=		perl5
+USES=		perl5 shebangfix
+SHEBANG_FILES=	src/eqe src/eqedit
 USE_BZIP2=	yes
 USE_TEX=	tex
 
-MAKE_ARGS=	PREFIX=${PREFIX}
+OPTIONS_DEFINE=	DOCS
 
-MAN1=		eqe.1 eqedit.1
+MAKE_ARGS=	PREFIX=${PREFIX}
 
-.if !defined(NOPORTDOCS)
 PORTDOCS=	TODO changelog README FAQ copyright
-.endif
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,^\(install:\) install-doc,\1,' \
 		${WRKSRC}/Makefile
@@ -35,13 +33,11 @@ post-patch:
 post-install:
 	@pod2man ${WRKSRC}/doc/eqe.pod ${WRKSRC}/doc/eqe.1
 	@pod2man ${WRKSRC}/doc/eqedit.pod ${WRKSRC}/doc/eqedit.1
-	${INSTALL_MAN} ${WRKSRC}/doc/eqe.1 ${MAN1PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/eqedit.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/doc/eqe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/eqedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/textproc/eqe/pkg-plist
==============================================================================
--- head/textproc/eqe/pkg-plist	Sun Jan 26 19:53:07 2014	(r341265)
+++ head/textproc/eqe/pkg-plist	Sun Jan 26 20:00:44 2014	(r341266)
@@ -1,5 +1,7 @@
 bin/eqedit
 bin/eqe
+man/man1/eqe.1.gz
+man/man1/eqedit.1.gz
 %%DATADIR%%/template.tt.tex
 %%DATADIR%%/error.png
 %%DATADIR%%/initial_image.png



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