blob: 55f4ed0dc6d5fbf3bbee57eef4ce180b93a0ec01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.9 2015/01/04 03:39:11 dholland 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}
# Politically incorrect on Dragonfly
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"
|