pkgsrc/time/cardboard-schedule/Makefile
jlam f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00

48 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2001/09/27 23:18:48 jlam Exp $
#
DISTNAME= cs113ins
PKGNAME= cardboard-schedule-1.13
CATEGORIES= time x11
MASTER_SITES= http://cardboard.nu/downloads/
EXTRACT_SUFX= .exe
MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://cardboard.nu/download.shtml
COMMENT= project and resource management software implemented in Java/Swing
USE_JAVA= yes
USE_X11BASE= yes
DEPENDS+= unzip-[0-9]*:../../archivers/unzip
DEPENDS+= swing-[0-9]*:../../x11/swing
RESTRICTED= "License prohibits redistribution on CDROM"
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
EXTRACT_CMD= (cd ${WRKDIR} && unzip -x ${DOWNLOADED_DISTFILE}) || ${TRUE}
CSFILES= cs/images/Logo2.gif \
cs/images/Logo.gif \
stage/cs.jar \
stage/readme.txt \
stage/jhbasic.jar \
stage/license.txt \
stage/CsHelp.jar
post-extract:
(cd ${WRKDIR} && unzip -x InstallerData/Installer.zip) || ${TRUE}
post-build:
${SED} -e s,@PREFIX@,${PREFIX},g < ${FILESDIR}/csched.sh > ${WRKDIR}/csched.tmp
${SED} -e s,@LOCALBASE@,${LOCALBASE},g < ${WRKDIR}/csched.tmp > ${WRKDIR}/csched.tmp2
${SED} -e s,@JAVA_HOME@,${JAVA_HOME},g < ${WRKDIR}/csched.tmp2 > ${WRKDIR}/csched
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/cardboard-schedule
@(cd ${WRKDIR}/C:/projects && ${GTAR} cf - ${CSFILES} | (cd ${PREFIX}/lib/cardboard-schedule && ${GTAR} xvf -))
${INSTALL_SCRIPT} ${WRKDIR}/csched ${PREFIX}/bin
do-build:
.include "../../mk/bsd.pkg.mk"