1996-04-12 07:41:59 +00:00
|
|
|
# New ports collection makefile for: fvwm95-2
|
1997-02-01 14:14:23 +00:00
|
|
|
# Version required: 2.0.43a
|
1998-11-23 22:35:43 +00:00
|
|
|
# Date created: 23 Nov 1998
|
1998-11-22 14:54:11 +00:00
|
|
|
# Whom: Yoshishige Arai <ryo2@on.rim.or.jp>
|
1996-04-12 07:41:59 +00:00
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1996-04-12 07:41:59 +00:00
|
|
|
#
|
|
|
|
|
1997-02-01 14:14:23 +00:00
|
|
|
DISTNAME= fvwm95-2.0.43a-Autoconf
|
1998-11-22 14:54:11 +00:00
|
|
|
PKGNAME= fvwm95-i18n-2.0.43a
|
1998-08-07 23:01:41 +00:00
|
|
|
CATEGORIES= x11-wm
|
1999-09-05 21:39:45 +00:00
|
|
|
MASTER_SITES= ftp://mitac11.uia.ac.be/pub/fvwm95/ \
|
1998-11-22 14:54:11 +00:00
|
|
|
ftp://ftp.plig.org/pub/fvwm95/ \
|
|
|
|
ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/ \
|
|
|
|
ftp://ftp.ics.es.osaka-u.ac.jp/pub/CFAN/misc/fvwm95/ \
|
1999-04-16 23:35:01 +00:00
|
|
|
${MASTER_SITE_PORTS_JP} \
|
1998-11-22 14:54:11 +00:00
|
|
|
http://www.freebsd.org/~sada/distfiles/
|
|
|
|
DISTFILES= ${EXTRACT_ONLY} fvwm95-2.0.43a-FreeBSD.apmpatch.tar.gz
|
1996-04-12 07:41:59 +00:00
|
|
|
|
1998-11-22 14:54:11 +00:00
|
|
|
PATCH_SITES= ftp://ftp.ics.es.osaka-u.ac.jp/pub/CFAN/misc/fvwm95/ \
|
|
|
|
http://www.freebsd.org/~sada/distfiles/
|
|
|
|
PATCHFILES= fvwm95-2.0.43a-Autoconf.I18N.diff.gz
|
|
|
|
|
|
|
|
MAINTAINER= ryo2@on.rim.or.jp
|
1996-04-12 07:41:59 +00:00
|
|
|
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1997-06-14 08:31:07 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/librplay.a:${PORTSDIR}/audio/rplay
|
1996-04-12 07:41:59 +00:00
|
|
|
|
1998-11-23 22:35:43 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tgz ${PKGNAME}-portKit-19981123.tgz
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1997-02-01 16:46:15 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-11-23 22:35:43 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --x-includes=${X11BASE}/include \
|
1998-11-22 14:54:11 +00:00
|
|
|
--mandir=${MANPREFIX}/man \
|
|
|
|
--includedir=${LOCALBASE}/include --libdir=${LOCALBASE}/lib
|
1998-11-23 09:23:43 +00:00
|
|
|
CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}"
|
1998-11-22 14:54:11 +00:00
|
|
|
MAN1= fvwm95.1 xpmroot.1 FvwmAudio.1 FvwmAuto.1 FvwmBacker.1 FvwmBanner.1 \
|
|
|
|
FvwmButtons.1 FvwmConsole.1 FvwmCpp.1 FvwmDebug.1 FvwmForm.1 \
|
|
|
|
FvwmIconBox.1 FvwmIconMan.1 FvwmIdent.1 FvwmM4.1 FvwmPager.1 \
|
|
|
|
FvwmSave.1 FvwmSaveDesk.1 FvwmScroll.1 FvwmTalk.1 FvwmTaskBar.1 \
|
|
|
|
FvwmWinList.1
|
|
|
|
|
|
|
|
SAMPLEDIR= ${PREFIX}/share/examples/fvwm95
|
|
|
|
KITDIR= ${WRKDIR}/${PKGNAME}-portKit
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
|
|
|
${DISTDIR}/fvwm95-2.0.43a-FreeBSD.apmpatch.tar.gz \
|
|
|
|
${EXTRACT_AFTER_ARGS} -C ${WRKDIR}
|
|
|
|
${CP} ${WRKDIR}/apmpatch/freebsd-menu.xpm ${WRKSRC}/mini-icons
|
1996-04-12 07:41:59 +00:00
|
|
|
|
1998-11-22 14:54:11 +00:00
|
|
|
pre-patch:
|
|
|
|
.if !defined(BATCH) && !defined(FOR_CDROM) && !defined(USE_APM)
|
|
|
|
@${ECHO} -n "Are you going to use APM handling? (y/n) ==> "
|
|
|
|
@(read ans; \
|
|
|
|
case x"$$ans" in \
|
|
|
|
xy*|xY*) \
|
|
|
|
${ECHO} "Okay, please rerun make like as \"make USE_APM=yes\"."; \
|
|
|
|
${ECHO} "(Don't worry about the following \"*** Error code 1\"s)"; \
|
|
|
|
return 1; \
|
|
|
|
;; \
|
|
|
|
*) \
|
|
|
|
return 0; \
|
|
|
|
;; \
|
|
|
|
esac)
|
|
|
|
.endif
|
|
|
|
post-patch:
|
|
|
|
.if defined(USE_APM)
|
|
|
|
@${CAT} ${WRKDIR}/apmpatch/fvwm95-2.0.43a-Autoconf.I18N.apmpatch \
|
|
|
|
| ${PATCH} -d ${WRKSRC}
|
|
|
|
.endif
|
1997-06-09 19:16:36 +00:00
|
|
|
|
|
|
|
post-install:
|
1998-11-22 14:54:11 +00:00
|
|
|
@(cd ${WRKSRC} ; ${MAKE} install.man)
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${SAMPLEDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/example.fvwm95rc ${SAMPLEDIR}
|
|
|
|
.endif
|
|
|
|
@${MKDIR} ${PREFIX}/lib/X11/fvwm95/ja_JP.EUC
|
|
|
|
@${INSTALL_DATA} ${KITDIR}/system.fvwm95rc.jp \
|
|
|
|
${PREFIX}/lib/X11/fvwm95/ja_JP.EUC/system.fvwm95rc
|
1998-11-23 22:35:43 +00:00
|
|
|
@${INSTALL_SCRIPT} ${KITDIR}/fvwm95.find ${PREFIX}/bin
|
1996-04-12 07:41:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|