1999-02-22 03:25:12 +00:00
|
|
|
# New ports collection makefile for: ja-wine
|
|
|
|
# Version required: 971130
|
|
|
|
# Date created: 14 Jan 1998
|
1998-05-13 22:21:18 +00:00
|
|
|
# Whom: Takashi Uozu <j1594016@ed.kagu.sut.ac.jp>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-05-13 22:21:18 +00:00
|
|
|
|
1999-02-22 03:25:12 +00:00
|
|
|
DISTNAME= ja-Wine-990131
|
|
|
|
PKGNAME= ja-wine-99.01.31
|
1998-05-13 22:21:18 +00:00
|
|
|
CATEGORIES= japanese emulators
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
1999-02-22 03:25:12 +00:00
|
|
|
http://www1.mahoroba.ne.jp/~jkuchi/wine-jp/src/
|
1998-05-13 22:21:18 +00:00
|
|
|
MASTER_SITE_SUBDIR= ALPHA/wine/development
|
1999-02-22 03:25:12 +00:00
|
|
|
DISTFILES= Wine-990131.tar.gz Wine990131-ja.tar.gz
|
1998-05-13 22:21:18 +00:00
|
|
|
|
1999-02-20 07:14:26 +00:00
|
|
|
MAINTAINER= j1594016@ed.kagu.sut.ac.jp
|
1998-05-13 22:21:18 +00:00
|
|
|
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1998-05-13 22:21:18 +00:00
|
|
|
|
1999-02-22 03:25:12 +00:00
|
|
|
WRKSRC= ${WRKDIR}/wine-990131
|
1998-05-13 22:21:18 +00:00
|
|
|
PATCH_STRIP= -p1
|
|
|
|
GNU_CONFIGURE= yes
|
1999-02-22 03:25:12 +00:00
|
|
|
CONFIGURE_ARGS= --enable-japanese --with-kinput
|
1998-05-13 22:21:18 +00:00
|
|
|
|
|
|
|
MAN1= wine.1
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@(cd ${WRKDIR}; \
|
1999-02-22 03:25:12 +00:00
|
|
|
${PATCH} ${PATCH_ARGS} < ${WRKDIR}/Wine990131-jp.Patch)
|
1998-05-13 22:21:18 +00:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${ECHO} "WINE_INI_GLOBAL \"${PREFIX}/etc/wine.conf\"" \
|
|
|
|
>> ${WRKSRC}/autoconf.h
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
cd ${WRKSRC} && make depend
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wine ${PREFIX}/bin
|
|
|
|
-@${MKDIR} ${PREFIX}/etc 2>/dev/null
|
|
|
|
[ -f ${PREFIX}/etc/wine.conf ] \
|
|
|
|
|| ${INSTALL_DATA} ${WRKSRC}/wine.ini ${PREFIX}/etc/wine.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/wine.sym ${PREFIX}/etc
|
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/documentation/wine.man ${PREFIX}/man/man1/wine.1
|
|
|
|
|
1999-02-22 03:25:12 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ja/wine
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/README.jis ${PREFIX}/share/doc/ja/wine
|
|
|
|
.endif
|
|
|
|
|
1998-05-13 22:21:18 +00:00
|
|
|
.include <bsd.port.mk>
|