1998-11-25 10:44:01 +00:00
|
|
|
# New ports collection makefile for: WindowMaker with i18n extention
|
1999-07-17 03:50:17 +00:00
|
|
|
# Version required: 0.60.0
|
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
|
|
|
#
|
1999-08-20 21:09:35 +00:00
|
|
|
# $Id: Makefile,v 1.59 1999/07/17 03:50:11 cpiazza Exp $
|
1999-07-17 03:50:17 +00:00
|
|
|
#
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1999-07-17 03:50:17 +00:00
|
|
|
DISTNAME= WindowMaker-0.60.0
|
|
|
|
PKGNAME= windowmaker-i18n-0.60.0
|
1999-01-18 06:43:04 +00:00
|
|
|
CATEGORIES= x11-wm windowmaker
|
1999-07-17 03:50:17 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER}
|
1999-02-21 21:51:01 +00:00
|
|
|
MASTER_SITE_SUBDIR= beta/srcs
|
1999-04-08 09:18:12 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
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 \
|
1999-01-23 07:05:35 +00:00
|
|
|
png.3:${PORTSDIR}/graphics/png \
|
1999-02-11 07:23:11 +00:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff34 \
|
1999-03-19 04:40:10 +00:00
|
|
|
PropList.1:${PORTSDIR}/devel/libPropList \
|
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
|
1999-04-08 09:18:12 +00:00
|
|
|
RUN_DEPENDS= ${X11BASE}/share/WindowMaker/Themes/Checker.themed/style:${PORTSDIR}/graphics/wmicons
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1999-05-01 02:43:38 +00:00
|
|
|
USE_BZIP2= yes
|
1999-02-11 07:23:11 +00:00
|
|
|
USE_PERL5= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-07-17 03:50:17 +00:00
|
|
|
USE_LIBTOOL= yes
|
1998-02-26 07:24:19 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-12-10 22:15:08 +00:00
|
|
|
CONFIGURE_ENV= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE} \
|
1999-02-11 07:23:11 +00:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" \
|
1999-01-18 03:18:39 +00:00
|
|
|
LINGUAS="de es fi fr hr it ja_JP.EUC ko nl no pl pt ru"
|
1998-02-26 07:24:19 +00:00
|
|
|
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
|
1999-07-17 03:50:17 +00:00
|
|
|
--with-nlsdir=${PREFIX}/share/locale --disable-debug
|
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 \
|
1999-07-17 03:50:17 +00:00
|
|
|
wdwrite.1x wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x wsetfont.1x
|
1998-09-09 05:57:18 +00:00
|
|
|
|
1999-07-17 03:50:17 +00:00
|
|
|
JA_CATALOGFILE= WindowMaker-0.60.0ja2
|
1999-04-08 09:18:12 +00:00
|
|
|
|
1999-07-17 03:50:17 +00:00
|
|
|
.if defined(JA_CATALOGFILE) && !empty(JA_CATALOGFILE)
|
|
|
|
MASTER_SITES+= ftp://muse.brain.riken.go.jp/pub/ja.po/
|
1999-04-08 09:18:12 +00:00
|
|
|
DISTFILES+= ${JA_CATALOGFILE}${EXTRACT_SUFX}
|
|
|
|
.endif
|
1998-09-30 13:24:40 +00:00
|
|
|
|
1999-08-20 21:09:35 +00:00
|
|
|
.if defined(USE_GNOME)
|
|
|
|
CONFIGURE_ARGS+= --enable-gnome
|
|
|
|
.endif
|
|
|
|
.if defined(USE_KDE)
|
|
|
|
CONFIGURE_ARGS+= --enable-kde
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.SILENT:
|
|
|
|
.if !defined(USE_KDE) && !defined(USE_GNOME)
|
|
|
|
pre-extract:
|
|
|
|
${ECHO} "You can add hooks for Gnome and KDE by defining USE_GNOME and/or USE_KDE"
|
|
|
|
.endif
|
|
|
|
|
1998-11-25 10:44:01 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-10-19 10:57:04 +00:00
|
|
|
post-patch:
|
1999-02-11 07:23:11 +00:00
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
|
|
|
|
@${PERL} -pi -e "s|%%PERL%%|${PERL}|g" ${WRKSRC}/util/wm-oldmenu2new
|
1999-04-08 09:18:12 +00:00
|
|
|
.if defined(JA_CATALOGFILE) && ${JA_CATALOGFILE} != ""
|
1999-03-19 16:12:04 +00:00
|
|
|
@${CP} ${WRKDIR}/${JA_CATALOGFILE}/WindowMaker.ja.po \
|
1999-02-11 07:23:11 +00:00
|
|
|
${WRKSRC}/po/ja.po
|
1999-03-19 16:12:04 +00:00
|
|
|
@${CP} ${WRKDIR}/${JA_CATALOGFILE}/WPrefs.ja.po \
|
1999-02-11 07:23:11 +00:00
|
|
|
${WRKSRC}/WPrefs.app/po/ja.po
|
1999-04-08 09:18:12 +00:00
|
|
|
.endif
|
1998-11-24 16:04:42 +00:00
|
|
|
|
1999-03-19 16:12:04 +00:00
|
|
|
pre-build:
|
|
|
|
@cd ${WRKSRC}/WindowMaker/Defaults && ${MAKE} clean
|
|
|
|
|
1999-04-08 09:18:12 +00:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/WindowMaker/Sounds/
|
|
|
|
|
1998-11-25 10:44:01 +00:00
|
|
|
.include <bsd.port.post.mk>
|