freebsd-ports/devel/ruby-ncurses/Makefile
2002-02-23 13:20:33 +00:00

42 lines
889 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.4
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_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endif
.include <bsd.port.mk>