1998-12-20 05:23:36 +00:00
# ports collection makefile for: wordperfect
# Version required: 8.0
# Date created: 1998-Dec-10
# Whom: dugsong@OpenBSD.ORG
# msmith@freebsd.org
# Relevant URLs: http://www.corel.com/
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
1998-12-20 05:23:36 +00:00
DISTNAME = GUILG00
PKGNAME = wordperfect-8.0
2000-02-28 08:34:04 +00:00
CATEGORIES = editors linux
1999-08-09 06:27:14 +00:00
MASTER_SITES =
1998-12-20 05:23:36 +00:00
EXTRACT_SUFX = .GZ
MAINTAINER = msmith@freebsd.org
1999-07-21 14:55:43 +00:00
RUN_DEPENDS = /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${ PORTSDIR } /emulators/linux_base
1998-12-20 05:23:36 +00:00
1999-01-07 02:31:51 +00:00
ONLY_FOR_ARCHS = i386
1998-12-20 05:23:36 +00:00
NO_CDROM = "LIC: redistribution not allowed"
IS_INTERACTIVE = "requires user interaction for installation"
NO_WRKSUBDIR = yes
NO_BUILD = yes
1999-01-04 16:00:06 +00:00
. i n c l u d e < b s d . p o r t . p r e . m k >
. i f ! e x i s t s ( $ { D I S T D I R } / $ { D I S T N A M E } $ { E X T R A C T _ S U F X } )
IGNORE = 'The source to this port may not be automatically fetched due to licensing restrictions. You MUST fetch the source manually after reading and agreeing to the license at: http://linux.corel.com/linux8/download.htm Once ${DISTFILES} has been downloaded, move it to ${DISTDIR} and then restart this build.'
. e n d i f
1998-12-20 05:23:36 +00:00
post-extract :
1999-02-03 11:12:01 +00:00
@( cd ${ WRKDIR } ; for file in b* g* ; do ${ TAR } -xf $$ file ; done )
1998-12-20 05:23:36 +00:00
post-patch :
@${ CP } ${ WRKDIR } /shared/wpdata ${ WRKDIR } /shared/wpdata.old
@${ SED } 's#idir=#idir=${PREFIX}/lib/corel#' \
< ${ WRKDIR } /shared/wpdata.old \
> ${ WRKDIR } /shared/wpdata
@${ CP } ${ WRKDIR } /shared/install.wp ${ WRKDIR } /shared/install.wp.old
1999-08-28 02:17:34 +00:00
@${ SED } 's#REPLACE_ME_WITH_DESTINATION#${PREFIX}/lib/corel#' \
1998-12-20 05:23:36 +00:00
< ${ WRKDIR } /shared/install.wp.old \
> ${ WRKDIR } /shared/install.wp
pre-install :
@${ ECHO } "" ; \
${ ECHO } " This installation of WordPerfect will expire in 90 days," ; \
${ ECHO } " unless you retrieve a free registration key from" ; \
${ ECHO } "" ; \
1999-09-02 04:57:32 +00:00
${ ECHO } " http://venus.corel.com/nasapps/wp8linuxreg/register.html" ; \
1998-12-20 05:23:36 +00:00
${ ECHO } "" ; \
${ ECHO } " to register your copy TODAY. Do this now!" ; \
${ ECHO } "" ; \
${ ECHO } " The installation default directory ${ PREFIX } /lib/corel must be " ; \
${ ECHO } " accepted for installation to proceed correctly. If the installation" ; \
${ ECHO } " needs to be relocated, set PREFIX and restart the installation." ; \
do-install :
@${ MKDIR } ${ WRKDIR } /tmp
@( cd ${ WRKDIR } ; ${ SCRIPTS_ENV } TMPDIR = ${ WRKDIR } /tmp ${ SH } Runme)
1999-08-28 02:17:34 +00:00
@${ SED } 's#REPLACE_ME_WITH_DESTINATION#${PREFIX}/lib/corel#' \
1998-12-20 05:23:36 +00:00
< ${ FILESDIR } /xwp \
> ${ WRKDIR } /xwp
@if test -f ${ PREFIX } /bin/xwp ; then \
${ MV } ${ PREFIX } /bin/xwp ${ PREFIX } /bin/xwp.old ; fi
@${ INSTALL_SCRIPT } ${ WRKDIR } /xwp ${ PREFIX } /bin
1999-01-04 16:00:06 +00:00
. i n c l u d e < b s d . p o r t . p o s t . m k >