aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/eqe
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-01-27 04:00:44 +0800
committermat <mat@FreeBSD.org>2014-01-27 04:00:44 +0800
commit3d2f4f3db30239d04991c117b957ddcf4c4712c3 (patch)
treec50a3ebd91598244e0cf9229a3a6ee573a60163d /textproc/eqe
parent3f084ec6fb909db701b4da70440c64b6917cfd65 (diff)
downloadfreebsd-ports-gnome-3d2f4f3db30239d04991c117b957ddcf4c4712c3.tar.gz
freebsd-ports-gnome-3d2f4f3db30239d04991c117b957ddcf4c4712c3.tar.zst
freebsd-ports-gnome-3d2f4f3db30239d04991c117b957ddcf4c4712c3.zip
Convert to staging.
Sponsored by: Absolight
Diffstat (limited to 'textproc/eqe')
-rw-r--r--textproc/eqe/Makefile20
-rw-r--r--textproc/eqe/pkg-plist2
2 files changed, 10 insertions, 12 deletions
diff --git a/textproc/eqe/Makefile b/textproc/eqe/Makefile
index 480926133423..6fb9a967efba 100644
--- a/textproc/eqe/Makefile
+++ b/textproc/eqe/Makefile
@@ -15,19 +15,17 @@ BUILD_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
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>
diff --git a/textproc/eqe/pkg-plist b/textproc/eqe/pkg-plist
index 568bc092870a..1ed70bea4430 100644
--- a/textproc/eqe/pkg-plist
+++ b/textproc/eqe/pkg-plist
@@ -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