mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
9f1de9b900
Convert USE_READLINE by USES=readline
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: Russell A. Jackson <raj@csub.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wyrd
|
|
PORTVERSION= 1.4.5
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= http://pessimization.com/software/wyrd/
|
|
|
|
MAINTAINER= h.skuhra@gmail.com
|
|
COMMENT= A curses front end to remind
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlc:${PORTSDIR}/lang/ocaml
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/remind:${PORTSDIR}/deskutils/remind
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= UTF8
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= ncurses
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= wyrd.1
|
|
MAN5= wyrdrc.5
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MUTF8}
|
|
CONFIGURE_ARGS+=--enable-utf8
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-utf8
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${PREFIX}/bin/wyrd
|
|
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/etc/wyrdrc
|
|
${INSTALL_MAN} ${WRKSRC}/doc/wyrd.1 ${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/doc/wyrdrc.5 ${MAN5PREFIX}/man/man5
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${DOCSDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|