From owner-svn-ports-all@freebsd.org Thu Dec 29 14:08:04 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B113C9538B; Thu, 29 Dec 2016 14:08:04 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D4BB8125D; Thu, 29 Dec 2016 14:08:03 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBTE83db030147; Thu, 29 Dec 2016 14:08:03 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBTE82pg030145; Thu, 29 Dec 2016 14:08:02 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201612291408.uBTE82pg030145@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 29 Dec 2016 14:08:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429916 - head/graphics/zphoto X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2016 14:08:04 -0000 Author: amdmi3 Date: Thu Dec 29 14:08:02 2016 New Revision: 429916 URL: https://svnweb.freebsd.org/changeset/ports/429916 Log: - Switch to USES=localbase - Properly optionize NLS Modified: head/graphics/zphoto/Makefile head/graphics/zphoto/pkg-plist Modified: head/graphics/zphoto/Makefile ============================================================================== --- head/graphics/zphoto/Makefile Thu Dec 29 14:03:37 2016 (r429915) +++ head/graphics/zphoto/Makefile Thu Dec 29 14:08:02 2016 (r429916) @@ -10,23 +10,25 @@ MASTER_SITES= http://namazu.org/~satoru/ MAINTAINER= ports@FreeBSD.org COMMENT= Zooming photo album generator -OPTIONS_DEFINE= ZIP -OPTIONS_DEFAULT= ZIP -ZIP_DESC= Enable zip support - LIB_DEPENDS= libming.so:graphics/ming \ libpopt.so:devel/popt \ libImlib2.so:graphics/imlib2 +USES= alias gmake localbase perl5 +USE_PERL5= build +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-avifile + +OPTIONS_DEFINE= ZIP NLS +OPTIONS_DEFAULT= ZIP +OPTIONS_SUB= yes + +ZIP_DESC= Enable zip support ZIP_RUN_DEPENDS= zip:archivers/zip ZIP_CONFIGURE_OFF= --disable-zip -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-avifile -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -USES= alias gmake perl5 -USE_PERL5= build +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/*.c ${WRKSRC}/configure Modified: head/graphics/zphoto/pkg-plist ============================================================================== --- head/graphics/zphoto/pkg-plist Thu Dec 29 14:03:37 2016 (r429915) +++ head/graphics/zphoto/pkg-plist Thu Dec 29 14:08:02 2016 (r429916) @@ -1,6 +1,6 @@ bin/zphoto -share/locale/ja/LC_MESSAGES/zphoto.mo -share/locale/ja_JP.SJIS/LC_MESSAGES/zphoto.mo +%%NLS%%share/locale/ja/LC_MESSAGES/zphoto.mo +%%NLS%%share/locale/ja_JP.SJIS/LC_MESSAGES/zphoto.mo %%DATADIR%%/doc/images/wxzphoto-linux-mini.png %%DATADIR%%/doc/images/wxzphoto-linux.png %%DATADIR%%/doc/images/wxzphoto-mini.png