2001-11-13 17:13:22 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2001/11/13 22:13:23 espie Exp $
|
2001-05-05 20:28:54 -04:00
|
|
|
|
|
|
|
COMMENT= "graphical word processor ported from Windows"
|
2001-01-05 11:35:58 -05:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
FAKE= No
|
1998-12-19 00:10:28 -05:00
|
|
|
|
|
|
|
PKGNAME= wordperfect-8.0
|
|
|
|
CATEGORIES= editors
|
2001-11-13 17:13:22 -05:00
|
|
|
NEED_VERSION= 1.496
|
1998-12-19 00:10:28 -05:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Dug Song <dugsong@monkey.org>
|
1998-12-19 00:10:28 -05:00
|
|
|
|
2001-03-13 22:59:20 -05:00
|
|
|
BROKEN= "Home page does not exist anymore. Alternate 400mb iso exists."
|
|
|
|
|
2000-02-25 16:17:15 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= commercial
|
|
|
|
PERMIT_PACKAGE_FTP= commercial
|
|
|
|
PERMIT_DISTFILES_CDROM= commercial
|
|
|
|
PERMIT_DISTFILES_FTP= commercial
|
|
|
|
|
1998-12-19 00:10:28 -05:00
|
|
|
MASTER_SITES= see_do-fetch_target
|
|
|
|
|
1999-05-31 13:35:09 -04:00
|
|
|
DISTNAME= WordPerfect
|
1998-12-19 00:10:28 -05:00
|
|
|
|
2001-11-13 17:13:22 -05:00
|
|
|
RUN_DEPENDS= ::emulators/linux_lib
|
1998-12-19 00:10:28 -05:00
|
|
|
|
1999-04-01 01:20:02 -05:00
|
|
|
IS_INTERACTIVE= yes
|
1998-12-19 00:10:28 -05:00
|
|
|
|
2000-03-05 13:30:21 -05:00
|
|
|
NO_BUILD= Yes
|
1999-10-29 05:40:15 -04:00
|
|
|
NO_PACKAGE= interactive port
|
1998-12-19 00:10:28 -05:00
|
|
|
|
2001-01-05 11:35:58 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
|
1998-12-19 00:10:28 -05:00
|
|
|
do-fetch:
|
|
|
|
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
2000-02-10 18:14:27 -05:00
|
|
|
echo "" ; \
|
|
|
|
echo " The source to this port may not be automatically fetched" ; \
|
|
|
|
echo " due to licensing restrictions. You MUST fetch the source" ; \
|
2000-11-02 10:19:34 -05:00
|
|
|
echo " (http://linux.corel.com/products/wp8/download.htm)" ; \
|
2000-02-10 18:14:27 -05:00
|
|
|
echo " manually after reading and agreeing to the license at:" ; \
|
|
|
|
echo "" ; \
|
2000-11-02 10:19:34 -05:00
|
|
|
echo " http://linux.corel.com/products/wp8/download_eula.htm" ; \
|
2000-02-10 18:14:27 -05:00
|
|
|
echo "" ; \
|
|
|
|
echo " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}" ; \
|
|
|
|
echo " and then restart this build." ; \
|
|
|
|
echo "" ; \
|
1998-12-19 00:10:28 -05:00
|
|
|
exit 1 ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
post-extract:
|
2000-02-10 18:14:27 -05:00
|
|
|
@cd ${WRKDIR} ; for file in b* g* ; do tar xf $$file ; done
|
1998-12-19 00:10:28 -05:00
|
|
|
|
|
|
|
pre-install:
|
2000-02-10 18:14:27 -05:00
|
|
|
@echo "" ; \
|
|
|
|
echo " This installation of WordPerfect will expire in 90 days," ; \
|
|
|
|
echo " unless you retrieve a free registration key from" ; \
|
|
|
|
echo "" ; \
|
2000-05-29 19:21:45 -04:00
|
|
|
echo " http://venus.corel.com/nasapps/wp8linuxreg/register.html" ; \
|
2000-02-10 18:14:27 -05:00
|
|
|
echo "" ; \
|
|
|
|
echo " to register your copy TODAY. Do this now!" ; \
|
|
|
|
echo "" ; \
|
|
|
|
echo " The recommended installation directory for WordPerfect is" ; \
|
|
|
|
echo " /usr/local/corel"
|
1998-12-19 00:10:28 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-02-10 18:14:27 -05:00
|
|
|
@mkdir -p ${WRKDIR}/tmp
|
|
|
|
@cd ${WRKDIR} ; ${SCRIPTS_ENV} TMPDIR=${WRKDIR}/tmp ${SH} Runme
|
1998-12-19 00:10:28 -05:00
|
|
|
@sed 's#y0y0y0#${PREFIX}/corel#' ${FILESDIR}/xwp > ${WRKDIR}/xwp
|
|
|
|
@if test -f ${PREFIX}/bin/xwp ; then \
|
2000-02-10 18:14:27 -05:00
|
|
|
mv ${PREFIX}/bin/xwp ${PREFIX}/bin/xwp.old ; fi
|
1998-12-19 00:10:28 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/xwp ${PREFIX}/bin
|
|
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|