1998-11-25 10:44:01 +00:00
|
|
|
# New ports collection makefile for: WindowMaker with i18n extention
|
|
|
|
# Date created: 24 Nov 1998
|
|
|
|
# Whom: mac@jp.freebsd.org
|
1997-11-04 10:33:43 +00:00
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1999-07-17 03:50:17 +00:00
|
|
|
#
|
1997-11-04 10:33:43 +00:00
|
|
|
|
2000-04-10 19:50:46 +00:00
|
|
|
PORTNAME= windowmaker-i18n
|
2000-04-25 02:16:50 +00:00
|
|
|
PORTVERSION= 0.62.1
|
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
|
2000-04-10 19:50:46 +00:00
|
|
|
DISTNAME= WindowMaker-${PORTVERSION}
|
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 \
|
2000-02-17 00:58:56 +00:00
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
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-09-07 10:45:31 +00:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
1999-10-08 11:22:53 +00:00
|
|
|
PropList.2:${PORTSDIR}/devel/libPropList \
|
1999-03-19 04:40:10 +00:00
|
|
|
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-10-08 21:35:34 +00: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 07:24:19 +00:00
|
|
|
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
|
2000-02-17 06:01:14 +00: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 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
|
|
|
|
2000-04-01 19:23:49 +00:00
|
|
|
JA_CATALOGFILE=
|
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/
|
2000-02-17 00:58:56 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${JA_CATALOGFILE}${EXTRACT_SUFX}
|
1999-04-08 09:18:12 +00:00
|
|
|
.endif
|
1998-09-30 13:24:40 +00:00
|
|
|
|
2000-04-17 00:19:02 +00:00
|
|
|
.if defined(WITH_GNOME)
|
1999-08-20 21:09:35 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-gnome
|
|
|
|
.endif
|
2000-04-17 00:19:02 +00:00
|
|
|
.if defined(WITH_KDE)
|
1999-08-20 21:09:35 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-kde
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.SILENT:
|
2000-04-17 00:19:02 +00:00
|
|
|
.if !defined(WITH_KDE) && !defined(WITH_GNOME)
|
1999-08-20 21:09:35 +00:00
|
|
|
pre-extract:
|
2000-04-17 00:19:02 +00:00
|
|
|
${ECHO} "You can add hooks for Gnome and KDE by defining WITH_GNOME and/or WITH_KDE"
|
1999-08-20 21:09:35 +00:00
|
|
|
.endif
|
|
|
|
|
2000-02-17 06:01:14 +00:00
|
|
|
post-extract:
|
|
|
|
@cd ${WRKSRC} && \
|
2000-04-01 19:23:49 +00:00
|
|
|
${TAR} xfz libwmfun-0.0.3.tar.gz
|
2000-02-17 06:01:14 +00:00
|
|
|
|
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>
|