1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/japanese/xtr/Makefile
Eitan Adler 49a67b7234 japanese/xtr
- stage (and 'unmodernize')
	- drop trailing '.' from NO_CDOM
2014-06-14 10:10:13 +00:00

40 lines
1.0 KiB
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= ports@FreeBSD.org
COMMENT= Japanese text formatting processor
USE_CSTD= c89
USE_GCC= yes
GNU_CONFIGURE= yes
NO_CDROM= Need to obtain permission for commercial redistribution
.include <bsd.port.options.mk>
post-extract:
@${ECHO_MSG} "===> Converting Kanji code for ${DISTNAME}"
@(cd ${WRKSRC} && $(SH) EUCsetup )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xtr ${STAGEDIR}${PREFIX}/bin/xtr
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in README doc/xtr.doc
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/sample/*.xtr ${STAGEDIR}${PREFIX}/share/${PORTNAME}
.include <bsd.port.mk>