- Update to 0.9.24
- Use NLS macro - Take maintainership
This commit is contained in:
parent
2ad3bf9db3
commit
e3eda75169
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220068
3 changed files with 39 additions and 25 deletions
|
@ -6,12 +6,11 @@
|
|||
#
|
||||
|
||||
PORTNAME= gscan2pdf
|
||||
PORTVERSION= 0.9.23
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.9.24
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SFE
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= chinsan@FreeBSD.org
|
||||
COMMENT= Produce PDF from scanned documents
|
||||
|
||||
RUN_DEPENDS= p5-PDF-API2>=0.57:${PORTSDIR}/textproc/p5-PDF-API2 \
|
||||
|
@ -29,13 +28,23 @@ RUN_DEPENDS= p5-PDF-API2>=0.57:${PORTSDIR}/textproc/p5-PDF-API2 \
|
|||
p5-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext
|
||||
# xdg-email:${PORTSDIR}/devel/xdg-utils
|
||||
|
||||
USE_GETTEXT= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= librsvg2
|
||||
PERL_CONFIGURE= yes
|
||||
MAN1= ${PORTNAME}.1
|
||||
PORT_VERBS= ${PORTNAME} Gscan2pdf
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/--parents/-p/g;s|$$sharedir/man|${MANPREFIX}/man|g;s|1p|1|g'\
|
||||
-e '/SITEPREFIX/s|/usr|${PREFIX}|' ${WRKSRC}/Makefile.PL
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (gscan2pdf-0.9.23.tar.gz) = d0b3da5ce50eba55bd7628b73973e110
|
||||
SHA256 (gscan2pdf-0.9.23.tar.gz) = cdbfb0960d1057ddfa1881611fe97fd4df70ef85fbe3e55965c9c0ed35ed68ca
|
||||
SIZE (gscan2pdf-0.9.23.tar.gz) = 240077
|
||||
MD5 (gscan2pdf-0.9.24.tar.gz) = 6db807625d3e3081e7970f0b41df3508
|
||||
SHA256 (gscan2pdf-0.9.24.tar.gz) = ec9780429654610972663e8f3b4920d1199b80c1522e097d08cff84a1cec081e
|
||||
SIZE (gscan2pdf-0.9.24.tar.gz) = 291569
|
||||
|
|
|
@ -5,27 +5,32 @@ share/applications/gscan2pdf.desktop
|
|||
%%DATADIR%%/gscan2pdf.svg
|
||||
%%DATADIR%%/pdf.svg
|
||||
%%DATADIR%%/scanner.svg
|
||||
%%DATADIR%%/stock-selection-all-16.png
|
||||
%%DATADIR%%/stock-rotate-180.svg
|
||||
%%DATADIR%%/stock-rotate-270.svg
|
||||
%%DATADIR%%/stock-rotate-90.svg
|
||||
share/locale/be/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/cs/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/da/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/de/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/el/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/en_GB/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/es/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/fr/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/it/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/nl/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/pl/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/pt/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/ru/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/sl/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/sv/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/tr/LC_MESSAGES/gscan2pdf.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/be/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/da/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/el/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/en_GB/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/fa/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/nb/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/nl/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/pt/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/sl/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/tr/LC_MESSAGES/gscan2pdf.mo
|
||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/gscan2pdf.mo
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/gscan2pdf
|
||||
@dirrmtry share/applications
|
||||
@dirrmtry %%DATADIR%%
|
||||
|
|
Loading…
Reference in a new issue