freebsd-ports/devel/ruby-ncurses/Makefile
2002-11-18 11:48:21 +00:00

42 lines
853 B
Makefile

# New ports collection makefile for: ncurses-ruby
# Date created: 7 February 2002
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= ncurses
PORTVERSION= 0.6
CATEGORIES= devel ruby
MASTER_SITES= http://download.berlios.de/ncurses-ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_BZIP2= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
DOCS= README THANKS TODO
post-extract:
${MKDIR} ${WRKSRC}/lib
${MV} ${WRKSRC}/ncurses.rb ${WRKSRC}/lib/
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
.endif
.include <bsd.port.mk>