mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
aa1ce30e6b
PR: 44932 Submitted by: TANAKA Hiroyuki <kattyo@abk.nu>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: xtr
|
|
# Date created: 5 November 2002
|
|
# Whom: 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."
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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.post.mk>
|