1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/rubygem-mkrf/Makefile

28 lines
728 B
Makefile

# New ports collection makefile for: rubygem-mkrf
# Date created: 2011-03-14
# Whom: Steve Wills <steve@meatwad.mouf.net>
#
# $FreeBSD$
#
PORTNAME= mkrf
PORTVERSION= 0.2.3
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= swills@FreeBSD.org
COMMENT= Replacement to mkmf generates Rakefiles to build C Extensions
USE_RUBY= yes
USE_PYTHON= yes
USE_RUBYGEMS= yes
USE_RAKE= yes
RUBYGEM_AUTOPLIST= yes
post-install:
@${REINPLACE_CMD} -e "s,{|l| \"-l#{l}\"}.join(' '),{|l| if l =~ /-/ then \"#{l}\" else \"-l#{l}\" end}.join(' ')," \
${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/lib/mkrf/availability.rb
@${RM} ${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/lib/mkrf/availability.rb.bak
.include <bsd.port.mk>