1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/japanese/Wnn7-lib/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: head files and libraries of Wnn7
# Date created: 01/07/16
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
#
1999-08-25 05:28:01 +00:00
# $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
1995-04-07 05:48:11 +00:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Include files and a library of Wnn7
1995-04-07 05:48:11 +00:00
BUILD_DEPENDS= imake:${X_IMAKE_PORT}
WRKSRC= ${WRKDIR}/src
DOCDIR= ${PREFIX}/share/doc/ja-Wnn7-lib
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
${WRKSRC}/config/Project.tmpl \
${WRKSRC}/config/X11.tmpl \
${WRKSRC}/Makefile.ini
# 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 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>