ports/65419: [ NEW PORT ] remind (Sophisticated calendar and alarm programme)

Lewis Thompson lewiz at fajita.org
Sat Apr 10 23:30:15 UTC 2004


>Number:         65419
>Category:       ports
>Synopsis:       [ NEW PORT ] remind (Sophisticated calendar and alarm programme)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 16:30:14 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lewis Thompson
>Release:        FreeBSD 5.2.1-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD majic.fajita.org 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #3: Thu Apr 1 21:42:22 BST 2004 lewiz at amnesia.fajita.org:/usr/src/sys/i386/compile/AMNESIA i386


	
>Description:
The method for changing lat/lon. seems a bit nasty.
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	remind
#	remind/Makefile
#	remind/distinfo
#	remind/files
#	remind/files/patch-Makefile::install
#	remind/pkg-descr
#	remind/pkg-plist
#
echo c - remind
mkdir -p remind > /dev/null 2>&1
echo x - remind/Makefile
sed 's/^X//' >remind/Makefile << 'END-of-remind/Makefile'
X# New ports collection makefile for:	remind
X# Date created:				10 April 2004
X# Whom:					Lewis Thompson <purple at lewiz.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	remind
XPORTVERSION=	3.0.22
XCATEGORIES=	deskutils
XMASTER_SITES=	http://www.roaringpenguin.com/products/${PORTNAME}/
XDISTNAME=	${PORTNAME}-03.00.22
X
XMAINTAINER=	purple at lewiz.net
XCOMMENT=	Sophisticated calendar and alarm programme
X
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
X
XMAN1=		kall.1 rem.1 rem2ps.1 remind.1 tkremind.1 cm2rem.1
X
Xpost-patch:
X# This seems more than a little ugly.
X.if defined(LAT_DEG)
X	@${REINPLACE_CMD} -e 's#LAT_DEG 45#LAT_DEG ${LAT_DEG}#' ${WRKSRC}/src/custom.h
X.endif
X.if defined(LAT_MIN)
X	@${REINPLACE_CMD} -e 's#LAT_MIN 24#LAT_MIN ${LAT_MIN}#' ${WRKSRC}/src/custom.h
X.endif
X.if defined(LAT_SEC)
X	@${REINPLACE_CMD} -e 's#LAT_SEC  0#LAT_SEC ${LAT_SEC}#' ${WRKSRC}/src/custom.h
X.endif
X.if defined(LON_DEG)
X	@${REINPLACE_CMD} -e 's#LON_DEG 75#LON_DEG ${LON_DEG}#' ${WRKSRC}/src/custom.h
X.endif
X.if defined(LON_MIN)
X	@${REINPLACE_CMD} -e 's#LON_MIN 39#LON_MIN ${LON_MIN}#' ${WRKSRC}/src/custom.h
X.endif
X.if defined(LON_SEC)
X	@${REINPLACE_CMD} -e 's#LON_SEC  0#LON_SEC ${LON_SEC}#' ${WRKSRC}/src/custom.h
X.endif
X.if defined(LOCATION)
X	@${REINPLACE_CMD} -e 's#Ottawa#${LOCATION}#' ${WRKSRC}/src/custom.h
X.endif
X.if defined(A4)
X	@${REINPLACE_CMD} -e 's#"Letter", 612, 792#"A4", 595, 842#' ${WRKSRC}/src/custom.h
X.endif
X
X.include <bsd.port.mk>
END-of-remind/Makefile
echo x - remind/distinfo
sed 's/^X//' >remind/distinfo << 'END-of-remind/distinfo'
XMD5 (remind-03.00.22.tar.gz) = 5655ad8209f8453443d0b95658cd82ca
XSIZE (remind-03.00.22.tar.gz) = 319556
END-of-remind/distinfo
echo c - remind/files
mkdir -p remind/files > /dev/null 2>&1
echo x - remind/files/patch-Makefile::install
sed 's/^X//' >remind/files/patch-Makefile::install << 'END-of-remind/files/patch-Makefile::install'
X--- src/Makefile.in	Mon Jun 26 15:50:53 2000
X+++ src/Makefile.in.new	Sat Apr 10 22:02:33 2004
X@@ -49,11 +49,14 @@
X 	@CC@ @LDFLAGS@ -o remind $(REMINDOBJS) @LIBS@
X 
X install: all
X-	for prog in $(PROGS) $(SCRIPTS) ; do \
X+	for prog in $(PROGS) ; do \
X 		$(INSTALL_PROGRAM) $$prog $(bindir) ; \
X 	done
X 	-strip $(bindir)/remind
X 	-strip $(bindir)/rem2ps
X+	for script in $(SCRIPTS) ; do \
X+		$(INSTALL_DATA) $$script $(bindir) ; \
X+	done
X 	for man in $(MANS) ; do  \
X 		$(INSTALL_DATA) $$man $(mandir)/man1 ; \
X 	done
END-of-remind/files/patch-Makefile::install
echo x - remind/pkg-descr
sed 's/^X//' >remind/pkg-descr << 'END-of-remind/pkg-descr'
XRemind is a sophisticated calendar and alarm program. It includes the
Xfollowing features:
X
X  * A sophisticated scripting language and intelligent handling of
X    exceptions and holidays.
X  * Plain-text, PostScript and HTML output.
X  * Timed reminders and pop-up alarms.
X  * A friendly graphical front-end for people who don't want to learn
X    the scripting language.
X  * Facilities for both the Gregorian and Hebrew calendars.
X  * Support for 12 different languages.
X
XWWW: http://www.roaringpenguin.com/products/remind/
END-of-remind/pkg-descr
echo x - remind/pkg-plist
sed 's/^X//' >remind/pkg-plist << 'END-of-remind/pkg-plist'
Xbin/cm2rem.tcl
Xbin/kall
Xbin/rem
Xbin/rem2ps
Xbin/remind
Xbin/tkremind
END-of-remind/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list