View | Details | Raw Unified | Return to bug 205328 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-5 / +11 lines)
Lines 4-10 Link Here
4
PORTNAME=	oniguruma
4
PORTNAME=	oniguruma
5
PORTVERSION=	5.9.6
5
PORTVERSION=	5.9.6
6
CATEGORIES=	devel textproc
6
CATEGORIES=	devel textproc
7
MASTER_SITES=	http://www.geocities.jp/kosako3/oniguruma/archive/
7
MASTER_SITES=	GH
8
PKGNAMESUFFIX=	5
8
PKGNAMESUFFIX=	5
9
DISTNAME=	onig-${PORTVERSION}
9
DISTNAME=	onig-${PORTVERSION}
10
DIST_SUBDIR=	ruby
10
DIST_SUBDIR=	ruby
Lines 19-35 Link Here
19
19
20
CONFLICTS=	oniguruma-2.*
20
CONFLICTS=	oniguruma-2.*
21
21
22
USES=		libtool pathfix
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	kkos
24
GH_TAGNAME=	585572b
25
26
USES=		cmake
23
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
24
INSTALL_TARGET=	install-strip
28
25
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
26
30
27
.include <bsd.port.options.mk>
31
.include <bsd.port.options.mk>
28
32
29
post-patch:
33
post-patch:
30
	@${REINPLACE_CMD} -e \
34
	@${REINPLACE_CMD} -e \
31
		'/^INCLUDES/s|$$(includedir)|| ; \
35
		's|lib/pkgconfig|libdata/pkgconfig|' \
32
		 s|$$(<)|$$(@).in|' ${WRKSRC}/Makefile.in
36
	${WRKSRC}/CMakeLists.txt
37
	@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
38
	${WRKSRC}/Makefile.am
33
39
34
post-install:
40
post-install:
35
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
41
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ruby/onig-5.9.6.tar.gz) = d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7
1
SHA256 (ruby/onig-5.9.6_GH0.tar.gz) = 868089c7226f83d456be35bbac939f649820e0d8e55eb1d9c4d3daa046bee0ee
2
SIZE (ruby/onig-5.9.6.tar.gz) = 588225
2
SIZE (ruby/onig-5.9.6_GH0.tar.gz) = 315431
(-)./pkg-plist (-4 / +10 lines)
Lines 1-11 Link Here
1
bin/onig-config
2
include/oniggnu.h
1
include/oniggnu.h
3
include/onigposix.h
2
include/onigposix.h
4
include/oniguruma.h
3
include/oniguruma.h
5
lib/libonig.a
6
lib/libonig.so
4
lib/libonig.so
7
lib/libonig.so.2
8
lib/libonig.so.2.0.0
9
libdata/pkgconfig/oniguruma.pc
5
libdata/pkgconfig/oniguruma.pc
10
%%PORTDOCS%%%%DOCSDIR%%/API
6
%%PORTDOCS%%%%DOCSDIR%%/API
11
%%PORTDOCS%%%%DOCSDIR%%/API.ja
7
%%PORTDOCS%%%%DOCSDIR%%/API.ja
Lines 23-25 Link Here
23
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple.c
19
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple.c
24
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sql.c
20
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sql.c
25
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syntax.c
21
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syntax.c
22
share/onig/AUTHORS
23
share/onig/COPYING
24
share/onig/HISTORY
25
share/onig/README
26
share/onig/doc/doc/API
27
share/onig/doc/doc/API.ja
28
share/onig/doc/doc/FAQ
29
share/onig/doc/doc/FAQ.ja
30
share/onig/doc/doc/RE
31
share/onig/doc/doc/RE.ja

Return to bug 205328