freebsd-ports/textproc/rubygem-ox/Makefile
Joseph Mingrone b918e3398d textproc/rubygem-ox: Update to version 2.5.0
Upstream changes: https://github.com/ohler55/ox/blob/master/CHANGELOG.md

Approved by:	swills (mentor, implicit)
2017-05-15 15:32:26 +00:00

25 lines
571 B
Makefile

# $FreeBSD$
PORTNAME= ox
PORTVERSION= 2.5.0
CATEGORIES= textproc rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Speed-optimized XML parser and object serializer for Ruby
LICENSE= MIT
USE_RUBY= yes
USES= gem
# The original gem depends on ext/ox/ox.so,
# but the ext directory is eliminated by FreeBSD's Uses/gem.mk framework.
# The workaround below is to create symlink lib/ox/ox.so pointing to lib/ox.so.
PLIST_FILES= ${GEM_LIB_DIR}/lib/ox/ox.so
post-install:
${LN} -s ../ox.so ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/ox
.include <bsd.port.mk>