Index: head/graphics/zphoto/Makefile =================================================================== --- head/graphics/zphoto/Makefile (revision 429915) +++ head/graphics/zphoto/Makefile (revision 429916) @@ -1,34 +1,36 @@ # Created by: UMENO Takashi # $FreeBSD$ PORTNAME= zphoto PORTVERSION= 1.2 PORTREVISION= 14 CATEGORIES= graphics www MASTER_SITES= http://namazu.org/~satoru/zphoto/ 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 .include Index: head/graphics/zphoto/pkg-plist =================================================================== --- head/graphics/zphoto/pkg-plist (revision 429915) +++ head/graphics/zphoto/pkg-plist (revision 429916) @@ -1,34 +1,34 @@ 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 %%DATADIR%%/doc/images/wxzphoto.png %%DATADIR%%/doc/zphoto-ja.html %%DATADIR%%/doc/zphoto.html %%DATADIR%%/fonts/EfontSerifB.fdb %%DATADIR%%/templates/default/all/.photo.html %%DATADIR%%/templates/default/all/css-colors.txt %%DATADIR%%/templates/default/all/flash-colors.txt %%DATADIR%%/templates/default/all/index.html.en %%DATADIR%%/templates/default/all/index.html.ja %%DATADIR%%/templates/default/all/noflash.html.en %%DATADIR%%/templates/default/all/noflash.html.ja %%DATADIR%%/templates/default/all/zoom.js.en %%DATADIR%%/templates/default/all/zoom.js.ja %%DATADIR%%/templates/default/all/zphoto.css %%DATADIR%%/templates/default/en/.photo.html %%DATADIR%%/templates/default/en/css-colors.txt %%DATADIR%%/templates/default/en/flash-colors.txt %%DATADIR%%/templates/default/en/index.html %%DATADIR%%/templates/default/en/noflash.html %%DATADIR%%/templates/default/en/zoom.js %%DATADIR%%/templates/default/en/zphoto.css %%DATADIR%%/templates/default/ja/.photo.html %%DATADIR%%/templates/default/ja/css-colors.txt %%DATADIR%%/templates/default/ja/flash-colors.txt %%DATADIR%%/templates/default/ja/index.html %%DATADIR%%/templates/default/ja/noflash.html %%DATADIR%%/templates/default/ja/zoom.js %%DATADIR%%/templates/default/ja/zphoto.css