ports/115881: [PATCH] deskutils/wyrd: update to 1.4.3b & add optional utf8 support
Andris Raugulis
ar at null.lv
Mon Aug 27 17:40:02 UTC 2007
>Number: 115881
>Category: ports
>Synopsis: [PATCH] deskutils/wyrd: update to 1.4.3b & add optional utf8 support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 27 17:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Andris Raugulis
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD anubis.daemon.lv 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Aug 23 01:27:12 EEST 2007 endrju at anubis.daemon.lv:/usr/obj/usr/src/sys/ANUBIS i386
>Description:
- Update to 1.4.3b
- Add UTF8 support (optional).
CC'ed to port maintainer (raj at csub.edu).
>How-To-Repeat:
>Fix:
--- freebsd.ports.deskutils.wyrd-1.4.2.to.deskutils.wyrd-1.4.3b.patch begins here ---
diff -ruN wyrd.original/Makefile wyrd/Makefile
--- wyrd.original/Makefile 2007-07-15 18:14:52.000000000 +0300
+++ wyrd/Makefile 2007-08-27 19:17:48.000000000 +0300
@@ -6,7 +6,7 @@
#
PORTNAME= wyrd
-PORTVERSION= 1.4.2
+PORTVERSION= 1.4.3b
CATEGORIES= deskutils
MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/wyrd/
@@ -16,12 +16,33 @@
BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlc:${PORTSDIR}/lang/ocaml
RUN_DEPENDS= ${LOCALBASE}/bin/remind:${PORTSDIR}/deskutils/remind
+OPTIONS= UTF8 "Enable UTF-8 support" off
+
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= wyrd.1
MAN5= wyrdrc.5
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
+WITH_NCURSES_PORT=yes
+.endif
+
+.if defined(WITH_UTF8)
+CONFIGURE_ARGS+=--enable-utf8
+.if defined(WITH_NCURSES_PORT)
+LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
+NCURSES_INC= ncurses/
+.endif
+.else
+CONFIGURE_ARGS+=--disable-utf8
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|ncursesw/|${NCURSES_INC}|' ${WRKSRC}/configure
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${PREFIX}/bin/wyrd
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/etc/wyrdrc
@@ -34,4 +55,4 @@
${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN wyrd.original/distinfo wyrd/distinfo
--- wyrd.original/distinfo 2007-07-15 18:14:52.000000000 +0300
+++ wyrd/distinfo 2007-08-27 19:17:48.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (wyrd-1.4.2.tar.gz) = 9de1c07c4f662a2b28d4cf29ed6818b9
-SHA256 (wyrd-1.4.2.tar.gz) = a72c5712d1e5cf1e76a2e2eb970f54b812a826dfb3536e5f873cf4d98c0553c0
-SIZE (wyrd-1.4.2.tar.gz) = 203752
+MD5 (wyrd-1.4.3b.tar.gz) = d428191d81769894cf773b8de6cae7ac
+SHA256 (wyrd-1.4.3b.tar.gz) = 81104370307151dba1dbf5130f11ba03cc5a40d4704563f9e4085ce1ebc00bd3
+SIZE (wyrd-1.4.3b.tar.gz) = 226447
--- freebsd.ports.deskutils.wyrd-1.4.2.to.deskutils.wyrd-1.4.3b.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list