Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= wyrd |
8 |
PORTNAME= wyrd |
9 |
PORTVERSION= 1.4.2 |
9 |
PORTVERSION= 1.4.3b |
10 |
CATEGORIES= deskutils |
10 |
CATEGORIES= deskutils |
11 |
MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/wyrd/ |
11 |
MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/wyrd/ |
12 |
|
12 |
|
Lines 16-27
Link Here
|
16 |
BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlc:${PORTSDIR}/lang/ocaml |
16 |
BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlc:${PORTSDIR}/lang/ocaml |
17 |
RUN_DEPENDS= ${LOCALBASE}/bin/remind:${PORTSDIR}/deskutils/remind |
17 |
RUN_DEPENDS= ${LOCALBASE}/bin/remind:${PORTSDIR}/deskutils/remind |
18 |
|
18 |
|
|
|
19 |
OPTIONS= UTF8 "Enable UTF-8 support" off |
20 |
|
19 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
20 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
21 |
|
23 |
|
22 |
MAN1= wyrd.1 |
24 |
MAN1= wyrd.1 |
23 |
MAN5= wyrdrc.5 |
25 |
MAN5= wyrdrc.5 |
24 |
|
26 |
|
|
|
27 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033) |
30 |
WITH_NCURSES_PORT=yes |
31 |
.endif |
32 |
|
33 |
.if defined(WITH_UTF8) |
34 |
CONFIGURE_ARGS+=--enable-utf8 |
35 |
.if defined(WITH_NCURSES_PORT) |
36 |
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses |
37 |
NCURSES_INC= ncurses/ |
38 |
.endif |
39 |
.else |
40 |
CONFIGURE_ARGS+=--disable-utf8 |
41 |
.endif |
42 |
|
43 |
post-patch: |
44 |
@${REINPLACE_CMD} -e 's|ncursesw/|${NCURSES_INC}|' ${WRKSRC}/configure |
45 |
|
25 |
do-install: |
46 |
do-install: |
26 |
${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${PREFIX}/bin/wyrd |
47 |
${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${PREFIX}/bin/wyrd |
27 |
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/etc/wyrdrc |
48 |
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/etc/wyrdrc |
Lines 34-37
Link Here
|
34 |
${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}/ |
55 |
${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}/ |
35 |
.endif |
56 |
.endif |
36 |
|
57 |
|
37 |
.include <bsd.port.mk> |
58 |
.include <bsd.port.post.mk> |