diff options
Diffstat (limited to 'japanese/bookview/Makefile')
-rw-r--r-- | japanese/bookview/Makefile | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/japanese/bookview/Makefile b/japanese/bookview/Makefile index 1a4f2265cac5..42224746257e 100644 --- a/japanese/bookview/Makefile +++ b/japanese/bookview/Makefile @@ -6,8 +6,7 @@ # PORTNAME= bookview -PORTVERSION= 3.2 -PORTREVISION= 1 +PORTVERSION= 3.2.1 CATEGORIES= japanese MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/ \ ftp://ftp.eos.hokudai.ac.jp/pub/net/ndtp/bookview/ @@ -15,12 +14,27 @@ MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/ \ MAINTAINER= ports@FreeBSD.org COMMENT= NDTP client written in Tcl/Tk -RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 +USE_TK_WRAPPER= yes -INFO= bookview-ja bookview +do-build: +.for i in bookview/bookview doc/bookview.html + cd ${WRKSRC} && ${SED} -e \ + 's|@WISH@|${WISH}|g ; \ + s|@VERSION@|${PORTVERSION}|g ; \ + s|@sysconfdir@|${PREFIX}/etc|g ; \ + s|@pkgdatadir@|${DATADIR}|g' < ${i}.in > ${i} +.endfor -GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= WISH=${LOCALBASE}/bin/wish8.4 +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bookview/bookview ${PREFIX}/bin + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/bitmap/*.gif ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/bitmap/*.xbm ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/bookview/*.tcl ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/bookview/*.mo ${DATADIR} + @${MKDIR} ${DATADIR}/doc + ${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DATADIR}/doc + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DATADIR}/doc + ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DATADIR}/doc .include <bsd.port.mk> |