7e52725f2a
Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
44 lines
1 KiB
Makefile
44 lines
1 KiB
Makefile
# New ports collection makefile for: head files and libraries of Wnn7
|
|
# Date created: 01/07/16
|
|
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Wnn7-lib
|
|
PORTVERSION= 2001.10.17
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ftp://ftp.omronsoft.co.jp/pub/Wnn7/sdk_source/
|
|
DISTNAME= Wnn7SDK
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= taoka@FreeBSD.org
|
|
COMMENT= Include files and a library of Wnn7
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${XFREE86_VERSION} == 3
|
|
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
|
|
.else
|
|
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
|
|
.endif
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
DOCDIR= ${PREFIX}/share/doc/ja-Wnn7-lib
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
# Warning: we cannot use USE_IMAKE.
|
|
do-build:
|
|
( cd ${WRKSRC} ; make World -f Makefile.ini )
|
|
|
|
post-install:
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
${LN} -sf libwnn7.so.1.0 ${PREFIX}/lib/libwnn7.so
|
|
.endif
|
|
@${MKDIR} ${PREFIX}/include/wnn7/wnn
|
|
@${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${PREFIX}/include/wnn7/wnn
|
|
@${MKDIR} ${DOCDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
|
|
|
.include <bsd.port.post.mk>
|