View | Details | Raw Unified | Return to bug 105592
Collapse All | Expand All

(-)/home/staff/gslin/work/ports/hyperestraier/Makefile (-4 / +29 lines)
Lines 21-36 Link Here
21
USE_ICONV=	yes
21
USE_ICONV=	yes
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
24
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
26
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
27
27
28
MAN1=	estcall.1 estcmd.1 estconfig.1 estmaster.1 estwaver.1
28
OPTIONS=	BZIP2 "Enable bzip2 support" off \
29
MAN3=	estnode.3 estraier.3
29
		GZIP "Enable gzip support" on \
30
		LZO "Enable lzo support" off \
31
		MECAB "Enable mecab support" off
32
33
MAN1=		estcall.1 estcmd.1 estconfig.1 estmaster.1 estwaver.1
34
MAN3=		estnode.3 estraier.3
35
36
.include <bsd.port.pre.mk>
37
38
.ifdef(WITH_BZIP2)
39
CONFIGURE_ARGS+=	--enable-bzip2
40
.endif
41
42
.ifdef(WITHOUT_GZIP)
43
CONFIGURE_ARGS+=	--disable-gzip
44
.endif
45
46
.ifdef(WITH_LZO)
47
CONFIGURE_ARGS+=	--enable-lzo
48
LIB_DEPENDS+=	lzo2:${PORTSDIR}/archivers/lzo2
49
.endif
50
51
.ifdef(WITH_MECAB)
52
CONFIGURE_ARGS+=	--enable-mecab
53
LIB_DEPENDS+=	mecab:${PORTSDIR}/japanese/mecab
54
.endif
30
55
31
post-patch:
56
post-patch:
32
	@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
57
	@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
33
		${WRKSRC}/Makefile.in
58
		${WRKSRC}/Makefile.in
34
	${RM} -f ${WRKSRC}/doc/intro-en.html~ ${WRKSRC}/doc/intro-ja.html~
59
	${RM} -f ${WRKSRC}/doc/intro-en.html~ ${WRKSRC}/doc/intro-ja.html~
35
60
36
.include <bsd.port.mk>
61
.include <bsd.port.post.mk>

Return to bug 105592