mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
40 lines
978 B
Makefile
40 lines
978 B
Makefile
# Created by: TANAKA Hiroyuki <kattyo@abk.nu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xtr
|
|
PORTVERSION= 1.50e.0.2
|
|
CATEGORIES= japanese textproc
|
|
MASTER_SITES= ftp://ftp.abk.nu/pub/redist/xtr/
|
|
DISTNAME= ${PORTNAME}1.50e-0.2
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= kattyo-ports@abk.nu
|
|
COMMENT= A powerful Japanese text formatting processor
|
|
|
|
MAN1= xtr.1
|
|
MANCOMPRESSED= no
|
|
|
|
HAS_CONFIGURE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
NO_CDROM= Need to obtain permission for commercial redistribution.
|
|
|
|
NO_STAGE= yes
|
|
post-extract:
|
|
@${ECHO_MSG} "===> Converting Kanji code for ${DISTNAME}"
|
|
@(cd ${WRKSRC} && $(SH) EUCsetup )
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xtr ${PREFIX}/bin/xtr
|
|
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in README doc/xtr.doc
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${MKDIR} ${PREFIX}/share/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/sample/*.xtr ${PREFIX}/share/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|