diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-09 03:19:36 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-09 03:19:36 +0800 |
commit | 0c6bd80e66255e084f7c3bdd7f952645bfba2818 (patch) | |
tree | ee19849d5c91ad5aef2226101c3aa0e181d1c582 /japanese | |
parent | 70bc3fd991b0fe02f1fbccd64d00909557511da4 (diff) | |
download | freebsd-ports-gnome-0c6bd80e66255e084f7c3bdd7f952645bfba2818.tar.gz freebsd-ports-gnome-0c6bd80e66255e084f7c3bdd7f952645bfba2818.tar.zst freebsd-ports-gnome-0c6bd80e66255e084f7c3bdd7f952645bfba2818.zip |
- Switch to USES=tar:tgz
- Switch to options helpers
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/xtr/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/japanese/xtr/Makefile b/japanese/xtr/Makefile index 58e6acc7b82f..bfde14b68430 100644 --- a/japanese/xtr/Makefile +++ b/japanese/xtr/Makefile @@ -7,11 +7,11 @@ PORTREVISION= 1 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 +USES= tar:tgz USE_CSTD= c89 USE_GCC= yes @@ -21,8 +21,6 @@ NO_CDROM= Need to obtain permission for commercial redistribution OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-extract: @${ECHO_MSG} "===> Converting Kanji code for ${DISTNAME}" @(cd ${WRKSRC} && $(SH) EUCsetup ) @@ -30,13 +28,13 @@ post-extract: 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} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/sample/*.xtr ${STAGEDIR}${PREFIX}/share/${PORTNAME} + +do-install-DOCS-on: + @${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> |