summaryrefslogtreecommitdiff
path: root/textproc/eqe
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-26 20:00:44 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-26 20:00:44 +0000
commit540c8910a525b62c2d1c3c6d324d26366c48f9f0 (patch)
treec50a3ebd91598244e0cf9229a3a6ee573a60163d /textproc/eqe
parent95c87a231c46939bf93eefc414bfe27fc089e658 (diff)
Notes
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