freebsd-ports/devel/ruby-byaccr/Makefile
2001-04-02 15:27:16 +00:00

40 lines
882 B
Makefile

# New ports collection makefile for: byaccr
# Date created: 2 Nov 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= byaccr
PORTVERSION= 0.1
CATEGORIES= devel ruby
MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
RUBY_NO_RUN_DEPENDS= yes
DOCS= README README.html
post-patch:
${PERL} -i.orig -pe 's,^#include <malloc\.h>,#include <stdlib.h>,' ${WRKSRC}/*.[ch]
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>