1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/japanese/Wnn7-lib/Makefile
Adam Weinberger a84c115a09 Convert a bunch of EXTRACT_SUFX=... into USES=tar:...
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 19:11:51 +00:00

40 lines
993 B
Makefile

# Created by: Satoshi Taoka <taoka@FreeBSD.org>
# $FreeBSD$
PORTNAME= Wnn7
PORTVERSION= 2001.10.17
PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= http://www.omronsoft.co.jp/SP/pcunix/sdk/wnn/
PKGNAMESUFFIX= -lib
DISTNAME= Wnn7SDK
MAINTAINER= hrs@FreeBSD.org
COMMENT= Wnn7 client library
USES= imake tar:tgz
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/src
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/config/Project.tmpl \
${WRKSRC}/config/X11.tmpl \
${WRKSRC}/Makefile.ini
@${REINPLACE_CMD} -e 's/((/(/' ${WRKSRC}/config/X11.tmpl
# Warning: we cannot use USE_IMAKE.
do-build:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make World -f Makefile.ini)
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/wnn7/wnn
${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${STAGEDIR}${PREFIX}/include/wnn7/wnn
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>