3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
41 lines
1 KiB
Makefile
41 lines
1 KiB
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= 2000.9.1
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ftp://ftp.omronsoft.co.jp/pub/Wnn6/sdk_source/
|
|
DISTNAME= Wnn6-SDK
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Include files and a library of Wnn6
|
|
|
|
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
|
|
|
|
WRKSRC= ${WRKDIR}/src/contrib/im/Xsi
|
|
DOCDIR= ${PREFIX}/share/doc/ja-Wnn6-lib
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},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 )
|
|
|
|
post-install:
|
|
${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.mk>
|