1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

japanese/xtr

- stage (and 'unmodernize')
	- drop trailing '.' from NO_CDOM
This commit is contained in:
Eitan Adler 2014-06-14 10:10:13 +00:00
parent f8d9c9d513
commit 49a67b7234
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357759
2 changed files with 14 additions and 13 deletions

View File

@ -9,31 +9,31 @@ DISTNAME= ${PORTNAME}1.50e-0.2
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A powerful Japanese text formatting processor
COMMENT= Japanese text formatting processor
MAN1= xtr.1
MANCOMPRESSED= no
USE_CSTD= c89
USE_GCC= yes
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
NO_CDROM= Need to obtain permission for commercial redistribution.
NO_CDROM= Need to obtain permission for commercial redistribution
.include <bsd.port.options.mk>
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}
${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} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
@${MKDIR} ${PREFIX}/share/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/sample/*.xtr ${PREFIX}/share/${PORTNAME}
${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/sample/*.xtr ${STAGEDIR}${PREFIX}/share/${PORTNAME}
.include <bsd.port.mk>

View File

@ -15,5 +15,6 @@ share/xtr/keijis98.xtr
share/xtr/mode.xtr
share/xtr/pcpr.xtr
share/xtr/prev.xtr
man/man1/xtr.1.gz
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/xtr