mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
8d27ddb9bd
If a ports is linked against ncurses from base or from the ports, it should then add: USE_NCURSES=yes it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros: WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes PR: ports/155269 Submitted by: me Reviwed by: pav@ Approved by: portmgr (pav@) Exp-run by: portmgr (pav@)
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# 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>
|