Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 20:05:56 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341269 - head/textproc/estraier
Message-ID:  <201401262005.s0QK5uPx008410@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Sun Jan 26 20:05:55 2014
New Revision: 341269
URL: http://svnweb.freebsd.org/changeset/ports/341269
QAT: https://qat.redports.org/buildarchive/r341269/

Log:
  - Convert to staging
  - Use new LIB_DEPENDS
  
  Sponsored by:	Absolight

Modified:
  head/textproc/estraier/Makefile

Modified: head/textproc/estraier/Makefile
==============================================================================
--- head/textproc/estraier/Makefile	Sun Jan 26 20:05:47 2014	(r341268)
+++ head/textproc/estraier/Makefile	Sun Jan 26 20:05:55 2014	(r341269)
@@ -10,7 +10,7 @@ MASTER_SITES=	http://fallabs.com/estraie
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A full-text search system for personal use
 
-LIB_DEPENDS=	qdbm.14:${PORTSDIR}/databases/qdbm
+LIB_DEPENDS=	libqdbm.so:${PORTSDIR}/databases/qdbm
 
 OPTIONS_DEFINE=	CHASEN MECAB KAKASI
 OPTIONS_DEFAULT=	KAKASI
@@ -26,24 +26,19 @@ CONFIGURE_ARGS=	--with-sysqdbm \
 CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 LDFLAGS+=	-L${LOCALBASE}/include ${PTHREAD_LIBS}
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+CHASEN_LIB_DEPENDS=	libchasen.so:${PORTSDIR}/japanese/chasen-base
+CHASEN_CONFIGURE_ENABLE=	chasen
 
-.if ${PORT_OPTIONS:MCHASEN}
-LIB_DEPENDS+=	chasen.2:${PORTSDIR}/japanese/chasen-base
-CONFIGURE_ARGS+=	--enable-chasen
-.endif
+KAKASI_LIB_DEPENDS=	libkakasi.so:${PORTSDIR}/japanese/kakasi
+KAKASI_CONFIGURE_ENABLE=	kakasi
+
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMECAB} && ${ARCH} == "i386"
-LIB_DEPENDS+=	mecab.1:${PORTSDIR}/japanese/mecab
+LIB_DEPENDS+=	libmecab.so:${PORTSDIR}/japanese/mecab
 CONFIGURE_ARGS+=	--enable-mecab
 .endif
 
-.if ${PORT_OPTIONS:MKAKASI}
-LIB_DEPENDS+=	kakasi.3:${PORTSDIR}/japanese/kakasi
-CONFIGURE_ARGS+=	--enable-kakasi
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|-lc ||g' ${WRKSRC}/configure
@@ -56,7 +51,7 @@ post-patch:
 
 post-install:
 .for file in estindex estmbtomh estserver estsiutil estxview
-	@${STRIP_CMD} ${PREFIX}/bin/${file}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
 .endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401262005.s0QK5uPx008410>