blob: 5267daed2ff6b37415aa4b40ed8b8f969af629c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $FreeBSD$
PORTNAME= ox
PORTVERSION= 2.10.0
CATEGORIES= textproc rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Speed-optimized XML parser and object serializer for Ruby
LICENSE= MIT
USES= gem
USE_RUBY= yes
# 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>
|