freebsd-ports/deskutils/wyrd/Makefile
Martin Wilke fb3520254a - Convert to OptionsNG
- Trim header

Reviewed by:	beat, bapt, kwm
2013-03-05 17:07:43 +00:00

46 lines
1 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
USE_GMAKE= yes
USE_NCURSES= 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>