Index: head/net/rubygem-amq-protocol/Makefile =================================================================== --- head/net/rubygem-amq-protocol/Makefile (revision 438714) +++ head/net/rubygem-amq-protocol/Makefile (revision 438715) @@ -1,21 +1,24 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= amq-protocol PORTVERSION= 2.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= AMQP serialization library for Ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE NO_ARCH= yes +REINPLACE_ARGS= -i '' USE_RUBY= yes -USES= gem python:build shebangfix -SHEBANG_FILES= codegen/codegen.py +USES= gem + +post-patch: + @${REINPLACE_CMD} -e '1d' ${WRKSRC}/codegen/codegen.py .include