1998-11-25 11:44:01 +01:00
|
|
|
# New ports collection makefile for: WindowMaker with i18n extention
|
2000-04-01 21:23:49 +02:00
|
|
|
# Version required: 0.62.0
|
1998-11-25 11:44:01 +01:00
|
|
|
# Date created: 24 Nov 1998
|
|
|
|
# Whom: mac@jp.freebsd.org
|
1997-11-04 11:33:43 +01:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1999-07-17 05:50:17 +02:00
|
|
|
#
|
1997-11-04 11:33:43 +01:00
|
|
|
|
2000-04-01 21:23:49 +02:00
|
|
|
DISTNAME= WindowMaker-0.62.0
|
|
|
|
PKGNAME= windowmaker-i18n-0.62.0
|
1999-01-18 07:43:04 +01:00
|
|
|
CATEGORIES= x11-wm windowmaker
|
1999-07-17 05:50:17 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER}
|
1999-02-21 22:51:01 +01:00
|
|
|
MASTER_SITE_SUBDIR= beta/srcs
|
1997-11-04 11:33:43 +01:00
|
|
|
|
1998-11-25 11:44:01 +01:00
|
|
|
MAINTAINER= mac@jp.freebsd.org
|
1997-11-04 11:33:43 +01:00
|
|
|
|
1998-09-17 02:33:02 +02:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
|
2000-02-17 01:58:56 +01:00
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
1998-09-15 13:46:15 +02:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
1999-01-23 08:05:35 +01:00
|
|
|
png.3:${PORTSDIR}/graphics/png \
|
1999-09-07 12:45:31 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
1999-10-08 13:22:53 +02:00
|
|
|
PropList.2:${PORTSDIR}/devel/libPropList \
|
1999-03-19 05:40:10 +01:00
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
|
1999-04-08 11:18:12 +02:00
|
|
|
RUN_DEPENDS= ${X11BASE}/share/WindowMaker/Themes/Checker.themed/style:${PORTSDIR}/graphics/wmicons
|
1997-11-04 11:33:43 +01:00
|
|
|
|
1999-05-01 04:43:38 +02:00
|
|
|
USE_BZIP2= yes
|
1999-02-11 08:23:11 +01:00
|
|
|
USE_PERL5= yes
|
1998-08-05 11:31:52 +02:00
|
|
|
USE_X_PREFIX= yes
|
1999-07-17 05:50:17 +02:00
|
|
|
USE_LIBTOOL= yes
|
1998-02-26 08:24:19 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1998-12-10 23:15:08 +01:00
|
|
|
CONFIGURE_ENV= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE} \
|
1999-02-11 08:23:11 +01:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" \
|
1999-10-08 23:35:34 +02:00
|
|
|
LINGUAS="da de es fi fr hr it ja_JP.EUC ko nl no pl pt ru zh_TW.Big5 zh_CN"
|
1998-02-26 08:24:19 +01:00
|
|
|
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
|
2000-02-17 07:01:14 +01:00
|
|
|
--with-nlsdir=${PREFIX}/share/locale \
|
|
|
|
--with-libs-from="-L${LOCALBASE}/lib" \
|
|
|
|
--with-incs-from="-I${LOCALBASE}/include" \
|
|
|
|
--with-appspath="${PREFIX}/GNUstep/Apps" \
|
|
|
|
--disable-debug
|
1997-11-04 11:33:43 +01:00
|
|
|
|
1998-09-30 15:24:40 +02:00
|
|
|
MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \
|
1999-07-17 05:50:17 +02:00
|
|
|
wdwrite.1x wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x wsetfont.1x
|
1998-09-09 07:57:18 +02:00
|
|
|
|
2000-04-01 21:23:49 +02:00
|
|
|
JA_CATALOGFILE=
|
1999-04-08 11:18:12 +02:00
|
|
|
|
1999-07-17 05:50:17 +02:00
|
|
|
.if defined(JA_CATALOGFILE) && !empty(JA_CATALOGFILE)
|
|
|
|
MASTER_SITES+= ftp://muse.brain.riken.go.jp/pub/ja.po/
|
2000-02-17 01:58:56 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${JA_CATALOGFILE}${EXTRACT_SUFX}
|
1999-04-08 11:18:12 +02:00
|
|
|
.endif
|
1998-09-30 15:24:40 +02:00
|
|
|
|
1999-08-20 23:09:35 +02: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
|
|
|
|
|
2000-02-17 07:01:14 +01:00
|
|
|
post-extract:
|
|
|
|
@cd ${WRKSRC} && \
|
2000-04-01 21:23:49 +02:00
|
|
|
${TAR} xfz libwmfun-0.0.3.tar.gz
|
2000-02-17 07:01:14 +01:00
|
|
|
|
1998-11-25 11:44:01 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-10-19 12:57:04 +02:00
|
|
|
post-patch:
|
1999-02-11 08:23:11 +01: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 11:18:12 +02:00
|
|
|
.if defined(JA_CATALOGFILE) && ${JA_CATALOGFILE} != ""
|
1999-03-19 17:12:04 +01:00
|
|
|
@${CP} ${WRKDIR}/${JA_CATALOGFILE}/WindowMaker.ja.po \
|
1999-02-11 08:23:11 +01:00
|
|
|
${WRKSRC}/po/ja.po
|
1999-03-19 17:12:04 +01:00
|
|
|
@${CP} ${WRKDIR}/${JA_CATALOGFILE}/WPrefs.ja.po \
|
1999-02-11 08:23:11 +01:00
|
|
|
${WRKSRC}/WPrefs.app/po/ja.po
|
1999-04-08 11:18:12 +02:00
|
|
|
.endif
|
1998-11-24 17:04:42 +01:00
|
|
|
|
1999-03-19 17:12:04 +01:00
|
|
|
pre-build:
|
|
|
|
@cd ${WRKSRC}/WindowMaker/Defaults && ${MAKE} clean
|
|
|
|
|
1999-04-08 11:18:12 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/WindowMaker/Sounds/
|
|
|
|
|
1998-11-25 11:44:01 +01:00
|
|
|
.include <bsd.port.post.mk>
|