freebsd-ports/deskutils/wyrd/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: wyrd
# Date created: Apr 5 2006
# Whom: 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= UTF8 "Enable UTF-8 support" off
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_NCURSES= yes
MAN1= wyrd.1
MAN5= wyrdrc.5
.include <bsd.port.pre.mk>
.if defined(WITH_UTF8)
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 !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}/
.endif
.include <bsd.port.post.mk>