aboutsummaryrefslogtreecommitdiff
path: root/japanese/epwutil
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-04-19 03:22:06 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-04-19 03:22:06 +0000
commitb34d7b343bfd6572a96b3be7de34929b6b98baf4 (patch)
tree15dbdabf27b9a5f004d47707b3a570e6ded32be2 /japanese/epwutil
parent1d859432257432d653b041b210375a446d2ac5bd (diff)
downloadports-b34d7b343bfd6572a96b3be7de34929b6b98baf4.tar.gz
ports-b34d7b343bfd6572a96b3be7de34929b6b98baf4.zip
Notes
Diffstat (limited to 'japanese/epwutil')
-rw-r--r--japanese/epwutil/Makefile24
-rw-r--r--japanese/epwutil/distinfo2
-rw-r--r--japanese/epwutil/pkg-plist5
3 files changed, 18 insertions, 13 deletions
diff --git a/japanese/epwutil/Makefile b/japanese/epwutil/Makefile
index 7e34c70741ce..8b91e96853a3 100644
--- a/japanese/epwutil/Makefile
+++ b/japanese/epwutil/Makefile
@@ -6,30 +6,40 @@
#
PORTNAME= epwutil
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= japanese
-MASTER_SITES= ftp://ftp.nerimadors.or.jp/pub/epwutil/
+MASTER_SITES= http://openlab.ring.gr.jp/edict/epwutil/
MAINTAINER= takamune@avrl.mei.co.jp
-NO_WRKSUBDIR= yes
MAKEFILE= makefile.unx
MANLANG= ja
EPWPROGS= bookinfo catdump squeeze
EPWDOCS= epwutil.doc
-EPWDOCDIR= ${PREFIX}/share/doc/epwutil
+EPWDOCDIR= share/doc/epwutil
do-install:
- cd ${WRKSRC}; ${INSTALL_PROGRAM} ${EPWPROGS} ${PREFIX}/bin
.for file in ${EPWPROGS}
cd ${WRKSRC};\
+ ${INSTALL_PROGRAM} ${file} ${PREFIX}/bin;\
${INSTALL_MAN} ${file}.man ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
.if !defined(NOMANCOMPRESS)
${GZIP_CMD} ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
.endif
.endfor
- @${MKDIR} ${EPWDOCDIR}
- cd ${WRKSRC}; ${INSTALL_DATA} ${EPWDOCS} ${EPWDOCDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/${EPWDOCDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} ${EPWDOCS} ${PREFIX}/${EPWDOCDIR}
+.endif
+
+post-install:
+.for file in ${EPWPROGS}
+ ${ECHO} man/${MANLANG}/cat1/${file}.1${MANEXT} >> ${TMPPLIST}
+.endfor
+.if !defined(NOPORTDOCS)
+ ${ECHO} ${EPWDOCDIR}/${EPWDOCS} >> ${TMPPLIST}
+ ${ECHO} "@dirrm ${EPWDOCDIR}" >> ${TMPPLIST}
+.endif
.include <bsd.port.mk>
diff --git a/japanese/epwutil/distinfo b/japanese/epwutil/distinfo
index 4f25afea8403..561e1a92c7f7 100644
--- a/japanese/epwutil/distinfo
+++ b/japanese/epwutil/distinfo
@@ -1 +1 @@
-MD5 (epwutil-1.0.tar.gz) = 3425ac2f0f0ef1e823a654ab824aee6a
+MD5 (epwutil-1.1.tar.gz) = afb59f9c549edbc5580172c42f1d2ae2
diff --git a/japanese/epwutil/pkg-plist b/japanese/epwutil/pkg-plist
index 19de09aa7fca..1d4be6d78343 100644
--- a/japanese/epwutil/pkg-plist
+++ b/japanese/epwutil/pkg-plist
@@ -1,8 +1,3 @@
bin/bookinfo
bin/catdump
bin/squeeze
-share/doc/epwutil/epwutil.doc
-man/ja/cat1/bookinfo.1.gz
-man/ja/cat1/catdump.1.gz
-man/ja/cat1/squeeze.1.gz
-@dirrm share/doc/epwutil