aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm2-i18n/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-03-03 19:31:50 +0800
committerasami <asami@FreeBSD.org>1997-03-03 19:31:50 +0800
commit7968b3e110e681079d8e6caaf49fe8d9320942b9 (patch)
treef894b5c15187f1d833892a97640845adbc2b9374 /x11-wm/fvwm2-i18n/Makefile
parent11fb85a2d63562b2febf81f4931bb3287b17425a (diff)
downloadfreebsd-ports-gnome-7968b3e110e681079d8e6caaf49fe8d9320942b9.tar.gz
freebsd-ports-gnome-7968b3e110e681079d8e6caaf49fe8d9320942b9.tar.zst
freebsd-ports-gnome-7968b3e110e681079d8e6caaf49fe8d9320942b9.zip
Internationalize this port. Upgrade to 2.0.45 as well.
Submitted by: Makoto MATSUSHITA <matusita@ics.es.osaka-u.ac.jp>
Diffstat (limited to 'x11-wm/fvwm2-i18n/Makefile')
-rw-r--r--x11-wm/fvwm2-i18n/Makefile56
1 files changed, 43 insertions, 13 deletions
diff --git a/x11-wm/fvwm2-i18n/Makefile b/x11-wm/fvwm2-i18n/Makefile
index 8ea286c7b4e7..e2ca529bd929 100644
--- a/x11-wm/fvwm2-i18n/Makefile
+++ b/x11-wm/fvwm2-i18n/Makefile
@@ -1,25 +1,55 @@
-# New ports collection makefile for: fvwm2
-# Version required: 2.0.43
-# Date created: 20 Jan 1996
-# Whom: peter
+# New ports collection makefile for: Internationalized fvwm2
+# Version required: 2.0.45
+# Date created: 02 Mar 1997
+# Whom: Makoto Matsushita <matusita@jp.freebsd.org>,
+# based on Hidekazu Kuroki's work of 2.0.43.
#
-# $Id: Makefile,v 1.3 1996/07/22 04:52:15 pst Exp $
+# $Id$
#
-DISTNAME= fvwm-2.0.43
-CATEGORIES= x11
-MASTER_SITES= ftp://ftp.hpc.uh.edu/pub/fvwm/version-2/
+DISTNAME= fvwm-2.0.45
+CATEGORIES= japanese x11
+MASTER_SITES= ftp://ftp.ics.es.osaka-u.ac.jp/pub/CFAN/sources/2.0.x/ \
+ ftp://ftp.ics.es.osaka-u.ac.jp/pub/CFAN/fvwm-users-jp/kits/ \
+ ftp://ftp.TokyoNet.AD.JP/pub/X/fvwm/sources/2.0.x/ \
+ ftp://ftp.TokyoNet.AD.JP/pub/X/fvwm/fvwm-users-jp/kits/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fvwm-users-jp-kits.97Jan24.tar.gz
-MAINTAINER= peter@FreeBSD.org
+MAINTAINER= matusita@jp.freebsd.org
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
-XMKMF= xmkmf
-ALL_TARGET= Makefiles all
+
+# filenames.
+PATCH_FIXIT= kits/patch/fix-2.0.45
+PATCH_I18N= kits/patch/PATCH.i18n-jp
+PATCH_MAN= kits/doc/diffs-fvwm.man
+TARBALL_SWDESK= kits/tool/swdesk.tar.gz
+
+USE_PATCHFILES= ${PATCH_FIXES} ${PATCH_I18N} ${PATCH_MAN}
+SWDESKDIR= ${WRKDIR}/swdesk
+
+# targets for swdesk
+post-extract:
+ @(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${TARBALL_SWDESK} ${EXTRACT_AFTER_ARGS})
+
+pre-patch:
+ @for i in ${USE_PATCHFILES}; do \
+ ${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/$$i; \
+ done;
+
+post-configure:
+ @(cd ${SWDESKDIR} && ${XMKMF})
+
+post-build:
+ @(cd ${SWDESKDIR} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
post-install:
- @mkdir -p ${PREFIX}/include/X11/pixmaps
- ${INSTALL} -c -m 444 ${WRKSRC}/icons/*.xpm ${PREFIX}/include/X11/pixmaps
+ @(cd ${SWDESKDIR} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+.endif
+ @${MKDIR} ${PREFIX}/lib/X11/${FVWMNAME}/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm \
+ ${PREFIX}/lib/X11/${FVWMNAME}/pixmaps
.include <bsd.port.mk>