1998-11-25 10:44:01 +00:00
|
|
|
# New ports collection makefile for: WindowMaker with i18n extention
|
1998-10-30 08:24:36 +00:00
|
|
|
# Version required: 0.20.2
|
1998-11-25 10:44:01 +00:00
|
|
|
# Date created: 24 Nov 1998
|
|
|
|
# Whom: mac@jp.freebsd.org
|
1997-11-04 10:33:43 +00:00
|
|
|
#
|
1998-11-25 10:44:01 +00:00
|
|
|
# $Id: Makefile,v 1.12 1998/11/25 03:57:40 kiri Exp $
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1998-10-30 08:24:36 +00:00
|
|
|
DISTNAME= WindowMaker-0.20.2
|
1998-11-25 10:44:01 +00:00
|
|
|
PKGNAME= windowmaker-i18n-0.20.2
|
1998-08-07 23:01:41 +00:00
|
|
|
CATEGORIES= x11-wm
|
1998-06-04 07:56:57 +00:00
|
|
|
MASTER_SITES= ftp://ftp.windowmaker.org/pub/beta/srcs/ \
|
|
|
|
ftp://ftp.io.com/pub/mirror/windowmaker/beta/srcs/ \
|
1998-11-25 10:44:01 +00:00
|
|
|
http://jgo.local.net/cool_downloads/wm/ \
|
|
|
|
http://www.itlb.te.noda.sut.ac.jp/~manome/wmaker/archive/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES} setlinguas-0.4.gz
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1998-11-25 10:44:01 +00:00
|
|
|
MAINTAINER= mac@jp.freebsd.org
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
|
1998-09-19 01:33:49 +00:00
|
|
|
gif.3:${PORTSDIR}/graphics/giflib \
|
1998-09-15 11:46:15 +00:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
1998-09-17 00:50:52 +00:00
|
|
|
png.2:${PORTSDIR}/graphics/png \
|
1998-11-25 10:44:01 +00:00
|
|
|
tiff34.1:${PORTSDIR}/graphics/tiff34
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libintl.a:${PORTSDIR}/devel/gettext \
|
|
|
|
nkf:${PORTSDIR}/japanese/nkf
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1998-11-25 10:44:01 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
|
1998-11-25 06:09:16 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-02-26 07:24:19 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-11-25 10:44:01 +00:00
|
|
|
CONFIGURE_ENV= X11BASE=${X11BASE} \
|
|
|
|
LINGUAS="de es fi fr hr it ja_JP.EUC ja_JP.SJIS ko nl no pl pt ru"
|
1998-02-26 07:24:19 +00:00
|
|
|
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
|
1998-11-25 10:44:01 +00:00
|
|
|
--with-nlsdir=${PREFIX}/share/locale \
|
1998-08-11 08:37:44 +00:00
|
|
|
--with-gfx-libs="-L${LOCALBASE}/lib" \
|
1998-11-25 10:44:01 +00:00
|
|
|
--with-gfx-incs="-I${LOCALBASE}/include/tiff34 -I${LOCALBASE}/include" \
|
|
|
|
--disable-debug --enable-kanji
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1998-09-30 13:24:40 +00:00
|
|
|
MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \
|
1998-09-09 05:57:18 +00:00
|
|
|
wdwrite.1x wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x
|
|
|
|
|
1998-09-30 13:24:40 +00:00
|
|
|
DATAFILES= WindowMaker-data.tar.gz
|
|
|
|
|
1998-11-25 10:44:01 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${GUNZIP_CMD} -c < ${_DISTDIR}/setlinguas-0.4.gz > ${WRKDIR}/setlinguas
|
|
|
|
|
1998-10-19 10:57:04 +00:00
|
|
|
post-patch:
|
|
|
|
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
|
|
|
|
|
1998-09-27 20:59:17 +00:00
|
|
|
post-install:
|
1998-11-25 10:44:01 +00:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/setlinguas ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/share/WindowMaker/Pixmaps/
|
|
|
|
@${MKDIR} ${PREFIX}/share/WindowMaker/Sounds/
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/WindowMaker-data/pixmaps/* \
|
1998-09-30 13:24:40 +00:00
|
|
|
${PREFIX}/share/WindowMaker/Pixmaps/
|
1998-11-24 16:04:42 +00:00
|
|
|
|
1998-11-25 10:44:01 +00:00
|
|
|
.include <bsd.port.post.mk>
|