openbsd-ports/editors/wordperfect/Makefile
espie f100c128f9 Remove NO_CONFIGURE/NO_PATCH/NO_EXTRACT/NO_MTREE
Kill corresponding FAKE=Yes and switch to CONFIGURE_STYLE while I'm at it.
2000-06-16 23:06:03 +00:00

74 lines
2.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2000/06/16 23:06:05 espie Exp $
PKGNAME= wordperfect-8.0
CATEGORIES= editors
NEED_VERSION= 1.230
FAKE= No
MAINTAINER= dugsong@monkey.org
LICENSE_TYPE= COMM
PERMIT_PACKAGE_CDROM= commercial
PERMIT_PACKAGE_FTP= commercial
PERMIT_DISTFILES_CDROM= commercial
PERMIT_DISTFILES_FTP= commercial
MASTER_SITES= see_do-fetch_target
DISTNAME= WordPerfect
NO_CDROM= "LIC: redistribution not allowed"
MIRROR_DISTFILE=no
RUN_DEPENDS= /emul/linux/lib/libc.so.5::emulators/linux_lib
ONLY_FOR_ARCHS= i386
IS_INTERACTIVE= yes
WRKDIST= ${WRKDIR}
NO_BUILD= Yes
NO_PACKAGE= interactive port
do-fetch:
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
echo "" ; \
echo " The source to this port may not be automatically fetched" ; \
echo " due to licensing restrictions. You MUST fetch the source" ; \
echo "(http://linux.corel.com/products/linuxproducts_wp8_download.htm)" ; \
echo " manually after reading and agreeing to the license at:" ; \
echo "" ; \
echo " http://linux.corel.com/wp8_agreement.htm" ; \
echo "" ; \
echo " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}" ; \
echo " and then restart this build." ; \
echo "" ; \
exit 1 ; \
fi
post-extract:
@cd ${WRKDIR} ; for file in b* g* ; do tar xf $$file ; done
pre-install:
@echo "" ; \
echo " This installation of WordPerfect will expire in 90 days," ; \
echo " unless you retrieve a free registration key from" ; \
echo "" ; \
echo " http://venus.corel.com/nasapps/wp8linuxreg/register.html" ; \
echo "" ; \
echo " to register your copy TODAY. Do this now!" ; \
echo "" ; \
echo " The recommended installation directory for WordPerfect is" ; \
echo " /usr/local/corel"
do-install:
@mkdir -p ${WRKDIR}/tmp
@cd ${WRKDIR} ; ${SCRIPTS_ENV} TMPDIR=${WRKDIR}/tmp ${SH} Runme
@sed 's#y0y0y0#${PREFIX}/corel#' ${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
.include <bsd.port.mk>