1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Update to 1.4.3b

- Add optional UTF8 support (default off)

PR:		ports/115881
Submitted by:	Andris Raugulis <ar at null.lv>
Approved by:	Russell A. Jackson <raj at csub.edu> (maintainer)
This commit is contained in:
Rong-En Fan 2007-09-05 14:56:58 +00:00
parent d364659f6c
commit 05adf2624e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198849
2 changed files with 26 additions and 5 deletions

View File

@ -6,7 +6,7 @@
# #
PORTNAME= wyrd PORTNAME= wyrd
PORTVERSION= 1.4.2 DISTVERSION= 1.4.3b
CATEGORIES= deskutils CATEGORIES= deskutils
MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/wyrd/ MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/wyrd/
@ -16,12 +16,33 @@ COMMENT= A curses front end to remind
BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlc:${PORTSDIR}/lang/ocaml BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlc:${PORTSDIR}/lang/ocaml
RUN_DEPENDS= ${LOCALBASE}/bin/remind:${PORTSDIR}/deskutils/remind RUN_DEPENDS= ${LOCALBASE}/bin/remind:${PORTSDIR}/deskutils/remind
OPTIONS= UTF8 "Enable UTF-8 support" off
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_GMAKE= yes USE_GMAKE= yes
MAN1= wyrd.1 MAN1= wyrd.1
MAN5= wyrdrc.5 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: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${PREFIX}/bin/wyrd ${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${PREFIX}/bin/wyrd
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/etc/wyrdrc ${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/etc/wyrdrc
@ -34,4 +55,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}/
.endif .endif
.include <bsd.port.mk> .include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (wyrd-1.4.2.tar.gz) = 9de1c07c4f662a2b28d4cf29ed6818b9 MD5 (wyrd-1.4.3b.tar.gz) = d428191d81769894cf773b8de6cae7ac
SHA256 (wyrd-1.4.2.tar.gz) = a72c5712d1e5cf1e76a2e2eb970f54b812a826dfb3536e5f873cf4d98c0553c0 SHA256 (wyrd-1.4.3b.tar.gz) = 81104370307151dba1dbf5130f11ba03cc5a40d4704563f9e4085ce1ebc00bd3
SIZE (wyrd-1.4.2.tar.gz) = 203752 SIZE (wyrd-1.4.3b.tar.gz) = 226447