mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
586953d818
${LOCALBASE}/include/wnn/*.h and a archive librarry libwnn.a of FreeWnn conflict with ones of Wnn6-lib. So I move Wnn6-lib's include files into ${LOCALBASE}/include/wnn6/wnn and remove libwnn.a of Wnn6-lib. Note that libwnn6.a can be used instead of libwnn.a for Wnn6-lib.
40 lines
972 B
Makefile
40 lines
972 B
Makefile
# New ports collection makefile for: head files and libraries of Wnn6
|
|
# Date created: 11 July 1997
|
|
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Wnn6-lib
|
|
PORTVERSION= 98.10.28
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ftp://ftp.omronsoft.co.jp/pub/Wnn6/sdk_source/
|
|
DISTNAME= Wnn6-SDK-sources
|
|
|
|
MAINTAINER= taoka@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
|
|
|
|
WRKSRC= ${WRKDIR}/src/contrib/im/Xsi
|
|
DOCDIR= ${PREFIX}/share/doc/ja-Wnn6-lib
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
# Warning: we cannot use USE_IMAKE.
|
|
do-build:
|
|
( cd $(WRKSRC) ; make World -f Makefile.ini )
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
${LN} -sf libwnn6.so.1.0 ${PREFIX}/lib/libwnn6.so
|
|
.endif
|
|
${LN} -sf libwnn6_fromsrc.a ${PREFIX}/lib/libwnn6.a
|
|
@${MKDIR} ${PREFIX}/include/wnn6/wnn
|
|
@${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${PREFIX}/include/wnn6/wnn
|
|
@${MKDIR} ${DOCDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
|
|
|
.include <bsd.port.post.mk>
|