pkgsrc/misc/softmaker-office-demo/Makefile
wiz 60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00

44 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2009/05/19 08:59:24 wiz Exp $
#
DISTNAME= ofl06trial
PKGNAME= softmaker-office-demo-2006
CATEGORIES= misc
MASTER_SITES= http://www.softmaker.net/down/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.softmaker.net/
COMMENT= SoftMaker Office (TextMaker and PlanMaker) demo version (Linux binary)
LICENSE= softmaker-office-demo-license
RESTRICTED= Only separately distributed, exact copies, for no fee
NO_SRC_ON_FTP= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/officetrial
USE_LANGUAGES= # none
USE_TOOLS+= pax
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base x11
INSTALLATION_DIRS= bin lib/softmaker
do-build:
${ECHO} '#!/bin/sh' > ${WRKDIR}/textmaker
${ECHO} 'cd ${PREFIX}/lib/softmaker' >> ${WRKDIR}/textmaker
${ECHO} './textmaker' >> ${WRKDIR}/textmaker
${ECHO} '#!/bin/sh' > ${WRKDIR}/planmaker
${ECHO} 'cd ${PREFIX}/lib/softmaker' >> ${WRKDIR}/planmaker
${ECHO} './planmaker' >> ${WRKDIR}/planmaker
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/textmaker ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/planmaker ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC} && pax -rwpp * ${DESTDIR}${PREFIX}/lib/softmaker
.include "../../mk/bsd.pkg.mk"