44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2012/10/08 09:57:37 asau 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}
|
|
|
|
NOT_FOR_PLATFORM+= DragonFly-*-*
|
|
|
|
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"
|