freebsd-ports/deskutils/wyrd/Makefile
Guido Falsi 2c44e6acd0 - Add USE_OCAML_CAMLP4 and USE_OCAML_TK to bsd.ocaml.mk which add
depends on the camlp4 language and labltk ocaml modules, which are
  now in separate ports.
- Update x11-toolkits/ocaml-lablgtk2 to 2.18.3
- Update graphics/ocaml-lablgl to 1.05
- Make unison ports use USE_OCAML
- Convert ports to the new flags where needed
- Bump PORTREVISION on ports depending on ocaml-lablgtk2, those need to be rebuilt

PR:			199845
Submitted by:		jbeich@
Differential Revision:	https://reviews.freebsd.org/D2434
Approved by:		portmgr (mat)
2015-05-04 15:46:51 +00:00

39 lines
1 KiB
Makefile

# Created by: Russell A. Jackson <raj@csub.edu>
# $FreeBSD$
PORTNAME= wyrd
PORTVERSION= 1.4.6
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= http://pessimization.com/software/wyrd/
MAINTAINER= h.skuhra@gmail.com
COMMENT= Text-based front-end to Remind
LICENSE= GPLv2
RUN_DEPENDS= remind:${PORTSDIR}/deskutils/remind
USES= gmake ncurses
USE_OCAML= yes
USE_OCAML_CAMLP4=yes
GNU_CONFIGURE= yes
PLIST_FILES= bin/wyrd etc/wyrdrc man/man1/wyrd.1.gz man/man5/wyrdrc.5.gz
PORTDOCS= manual.html manual.pdf
OPTIONS_DEFINE= UTF8 DOCS
UTF8_CONFIGURE_ENABLE= utf8
post-patch:
@${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/curses/curses.ml
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${STAGEDIR}${PREFIX}/bin/wyrd
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${STAGEDIR}${PREFIX}/etc/wyrdrc
${INSTALL_MAN} ${WRKSRC}/doc/wyrd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/wyrdrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>