[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / misc / softmaker-office-demo

File: [cvs.NetBSD.org] / pkgsrc / misc / softmaker-office-demo / Attic / Makefile (download)

Revision 1.6, Tue May 19 08:59:24 2009 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.5: +2 -2 lines

Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

# $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"