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)
43 lines
1,022 B
Makefile
43 lines
1,022 B
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= ports@FreeBSD.org
|
|
COMMENT= Include files and a library of Wnn7
|
|
|
|
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
DOCDIR= ${PREFIX}/share/doc/ja-Wnn7-lib
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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:
|
|
@${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>
|