svn commit: r429916 - head/graphics/zphoto
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Dec 29 14:08:04 UTC 2016
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 at 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|<ming.h>|<ming/ming.h>|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
More information about the svn-ports-head
mailing list