Date: Thu, 16 Nov 2006 11:01:44 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org, ahze@FreeBSD.org Subject: ports/105592: [PATCH] textproc/hyperestraier: Support bzip2/lzo/mecab Message-ID: <200611160301.kAG31iIJ001023@gslin.dyndns.org> Resent-Message-ID: <200611160310.kAG3A1sY080437@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105592 >Category: ports >Synopsis: [PATCH] textproc/hyperestraier: Support bzip2/lzo/mecab >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 16 03:10:01 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD gslin.dyndns.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Nov 6 03:30:38 CST >Description: - Add OPTIONS to support bzip2/lzo/mecab Port maintainer (ahze@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- hyperestraier-1.4.9.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/hyperestraier/Makefile /home/staff/gslin/work/ports/hyperestraier/Makefile --- /usr/ports/textproc/hyperestraier/Makefile Thu Nov 16 03:21:57 2006 +++ /home/staff/gslin/work/ports/hyperestraier/Makefile Thu Nov 16 10:32:11 2006 @@ -21,16 +21,41 @@ USE_ICONV= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -MAN1= estcall.1 estcmd.1 estconfig.1 estmaster.1 estwaver.1 -MAN3= estnode.3 estraier.3 +OPTIONS= BZIP2 "Enable bzip2 support" off \ + GZIP "Enable gzip support" on \ + LZO "Enable lzo support" off \ + MECAB "Enable mecab support" off + +MAN1= estcall.1 estcmd.1 estconfig.1 estmaster.1 estwaver.1 +MAN3= estnode.3 estraier.3 + +.include <bsd.port.pre.mk> + +.ifdef(WITH_BZIP2) +CONFIGURE_ARGS+= --enable-bzip2 +.endif + +.ifdef(WITHOUT_GZIP) +CONFIGURE_ARGS+= --disable-gzip +.endif + +.ifdef(WITH_LZO) +CONFIGURE_ARGS+= --enable-lzo +LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2 +.endif + +.ifdef(WITH_MECAB) +CONFIGURE_ARGS+= --enable-mecab +LIB_DEPENDS+= mecab:${PORTSDIR}/japanese/mecab +.endif post-patch: @${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in ${RM} -f ${WRKSRC}/doc/intro-en.html~ ${WRKSRC}/doc/intro-ja.html~ -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- hyperestraier-1.4.9.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611160301.kAG31iIJ001023>