summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-12-04 20:16:32 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-12-04 20:16:32 +0000
commit3469fb1c206b562f56e7f6774612d3c0e64d4c42 (patch)
treeb9efa423a4dcfe4e303aa19f6922f4bee04491e9
parentAdd INFO macro (diff)
Use INFO macro
Notes
Notes: svn path=/head/; revision=150402
-rw-r--r--japanese/jed/Makefile9
-rw-r--r--japanese/jed/pkg-plist6
2 files changed, 7 insertions, 8 deletions
diff --git a/japanese/jed/Makefile b/japanese/jed/Makefile
index ae175ec979dc..e826436e8029 100644
--- a/japanese/jed/Makefile
+++ b/japanese/jed/Makefile
@@ -31,6 +31,9 @@ CONFIGURE_ENV= JED_ROOT="${JED_ROOT}" X_EXTRA_LIBS="-lcurses"
CONFIGURE_ARGS= --enable-x-locale=no
ALL_TARGET= ${BINSTUFF} getmail
MAN1= jed.1 rgrep.1
+.if !defined(NOPORTDOCS)
+INFO= jed
+.endif
JED_ROOT= ${PREFIX}/lib/jed
BINSTUFF= jed rgrep
@@ -100,8 +103,10 @@ do-install:
${INSTALL_MAN} ${_DOCDIR}/${f} ${PREFIX}/man/man1/
.endfor
.if !defined(NOPORTDOCS)
- ${INSTALL_DATA} ${_INFODIR}/jed.* ${PREFIX}/info/
- @install-info ${PREFIX}/info/jed.info ${PREFIX}/info/dir
+ ${INSTALL_DATA} ${_INFODIR}/jed.info ${PREFIX}/info/
+ ${INSTALL_DATA} ${_INFODIR}/jed.1in ${PREFIX}/info/jed.info-1
+ ${INSTALL_DATA} ${_INFODIR}/jed.2in ${PREFIX}/info/jed.info-2
+ ${INSTALL_DATA} ${_INFODIR}/jed.3in ${PREFIX}/info/jed.info-3
@${MKDIR} ${JED_ROOT}/doc/
${INSTALL_DATA} ${_DOCDIR}/README ${_DOCDIR}/*.txt ${_DOCDIR}/jed.tex ${WRKSRC}/jed-j.doc ${JED_ROOT}/doc/
.endif
diff --git a/japanese/jed/pkg-plist b/japanese/jed/pkg-plist
index 4389cb0f6148..1f274cf54c9a 100644
--- a/japanese/jed/pkg-plist
+++ b/japanese/jed/pkg-plist
@@ -1,12 +1,6 @@
bin/jed
bin/rgrep
%%XJED_ENTRY%%
-%%PORTDOCS%%@unexec install-info --delete %D/info/jed.info %D/info/dir
-%%PORTDOCS%%info/jed.info
-%%PORTDOCS%%info/jed.1in
-%%PORTDOCS%%info/jed.2in
-%%PORTDOCS%%info/jed.3in
-%%PORTDOCS%%@exec install-info %D/info/jed.info %D/info/dir
lib/jed/bin/getmail
%%PORTDOCS%%lib/jed/doc/abbrev.txt
%%PORTDOCS%%lib/jed/doc/color.txt