2001-02-17 18:31:58 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2001/02/17 17:32:09 wiz Exp $
|
2000-12-18 00:32:09 +01:00
|
|
|
#
|
|
|
|
|
2000-12-18 01:41:50 +01:00
|
|
|
DISTNAME= remind-03.00.22
|
2000-12-18 00:32:09 +01:00
|
|
|
PKGNAME= ${DISTNAME:C/0([0-9])/\1/g}
|
|
|
|
CATEGORIES= time
|
|
|
|
MASTER_SITES= http://www.roaringpenguin.com/
|
|
|
|
|
|
|
|
MAINTAINER= kim@tac.nyc.ny.us
|
|
|
|
HOMEPAGE= http://www.roaringpenguin.com/remind.html
|
2001-02-17 18:31:58 +01:00
|
|
|
COMMENT= Calendar/alarm program with interpreted input language
|
2000-12-18 00:32:09 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
# We don't want to require tcl just for one script.
|
|
|
|
post-build:
|
|
|
|
@${SED} -e 's,@TCLSH@,tclsh8.0,' \
|
|
|
|
< ${WRKSRC}/scripts/cm2rem.tcl \
|
|
|
|
> ${WRKSRC}/scripts/cm2rem
|
|
|
|
@${MV} ${WRKSRC}/man/cm2rem.1 ${WRKSRC}/man/cm2rem.1.bak
|
|
|
|
@${SED} -e 's,@TCLSH@,tclsh8.0,' \
|
|
|
|
< ${WRKSRC}/man/cm2rem.1.bak \
|
|
|
|
> ${WRKSRC}/man/cm2rem.1
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/remind
|
|
|
|
(cd ${WRKSRC}; \
|
|
|
|
${INSTALL_DATA} -p examples/defs.rem \
|
|
|
|
${PREFIX}/share/examples/remind; \
|
|
|
|
${INSTALL_DATA} -p examples/remind.vim \
|
|
|
|
${PREFIX}/share/examples/remind; \
|
|
|
|
${INSTALL_DATA} -p scripts/remind-all.csh \
|
|
|
|
${PREFIX}/share/examples/remind; \
|
|
|
|
${INSTALL_DATA} -p scripts/remind-all.sh \
|
|
|
|
${PREFIX}/share/examples/remind)
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/remind
|
|
|
|
(cd ${WRKSRC}; \
|
|
|
|
${INSTALL_DATA} -p docs/README.UNIX \
|
|
|
|
${PREFIX}/share/doc/remind; \
|
|
|
|
${INSTALL_DATA} -p docs/WHATSNEW.30 \
|
|
|
|
${PREFIX}/share/doc/remind; \
|
|
|
|
${INSTALL_DATA} -p COPYRIGHT \
|
|
|
|
${PREFIX}/share/doc/remind)
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|