From 44a58d7c16c57016f25d310f79c2bbb511ce2cf1 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Fri, 1 Aug 2014 19:56:01 +0000 Subject: [PATCH] print/gtklp: updte to 1.3.1 PR: 191374 Submitted by: tkato432 yahoo com --- print/gtklp/Makefile | 22 +++++++++++++++++----- print/gtklp/distinfo | 4 ++-- print/gtklp/pkg-plist | 21 +++++++++++++-------- 3 files changed, 32 insertions(+), 15 deletions(-) diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile index 5973ffc17106..07844de09e7f 100644 --- a/print/gtklp/Makefile +++ b/print/gtklp/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gtklp -PORTVERSION= 1.2.9 -PORTREVISION= 1 +PORTVERSION= 1.3.1 DISTVERSIONSUFFIX= .src CATEGORIES= print MASTER_SITES= SF @@ -11,6 +10,8 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= GTK interface to cups +LICENSE= GPLv2 # (or later) + LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -18,9 +19,20 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= gettext pkgconfig USE_GNOME= gtk20 USE_OPENSSL= yes -USE_AUTOTOOLS= automake:env -GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -D_IPP_PRIVATE_STRUCTURES +USE_AUTOTOOLS= aclocal autoheader automake autoconf +AUTOMAKE_ARGS= --add-missing --copy +INSTALLS_ICONS= yes + +CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +DESKTOP_ENTRIES="GtkLP" "" "${PORTNAME}" "${PORTNAME}" "System;GTK;" "" + +post-install: +.for i in 16 24 32 48 64 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps + (cd ${WRKSRC}/libgtklp/icons && ${INSTALL_DATA} ${i}x${i}.xpm \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/gtklp.xpm) +.endfor + .include diff --git a/print/gtklp/distinfo b/print/gtklp/distinfo index dd41ad9ed671..07bb828a0a57 100644 --- a/print/gtklp/distinfo +++ b/print/gtklp/distinfo @@ -1,2 +1,2 @@ -SHA256 (gtklp-1.2.9.src.tar.gz) = 0dd9ffbf0beff5effc05a8456a4335622f2e1d864f8be378893e9af6ca7ac358 -SIZE (gtklp-1.2.9.src.tar.gz) = 1149729 +SHA256 (gtklp-1.3.1.src.tar.gz) = 734f9b0edb4f01ffce1288553150966231253a5bf4bd76db739ee180a1f39fdb +SIZE (gtklp-1.3.1.src.tar.gz) = 641805 diff --git a/print/gtklp/pkg-plist b/print/gtklp/pkg-plist index bc29be523982..3a305783656f 100644 --- a/print/gtklp/pkg-plist +++ b/print/gtklp/pkg-plist @@ -2,6 +2,11 @@ bin/gtklp bin/gtklpq man/man1/gtklp.1.gz man/man1/gtklpq.1.gz +share/icons/hicolor/16x16/apps/gtklp.xpm +share/icons/hicolor/24x24/apps/gtklp.xpm +share/icons/hicolor/32x32/apps/gtklp.xpm +share/icons/hicolor/48x48/apps/gtklp.xpm +share/icons/hicolor/64x64/apps/gtklp.xpm share/locale/ca/LC_MESSAGES/gtklp.mo share/locale/ca_ES/LC_MESSAGES/gtklp.mo share/locale/chs/LC_MESSAGES/gtklp.mo @@ -22,13 +27,13 @@ share/locale/ru/LC_MESSAGES/gtklp.mo share/locale/uk_UA/LC_MESSAGES/gtklp.mo share/locale/zh_CN/LC_MESSAGES/gtklp.mo share/locale/zh_TW/LC_MESSAGES/gtklp.mo -@dirrmtry share/locale/ca_ES/LC_MESSAGES -@dirrmtry share/locale/ca_ES -@dirrmtry share/locale/chs/LC_MESSAGES -@dirrmtry share/locale/chs -@dirrmtry share/locale/cht/LC_MESSAGES -@dirrmtry share/locale/cht -@dirrmtry share/locale/cz/LC_MESSAGES -@dirrmtry share/locale/cz @dirrmtry share/locale/uk_UA/LC_MESSAGES @dirrmtry share/locale/uk_UA +@dirrmtry share/locale/cz/LC_MESSAGES +@dirrmtry share/locale/cz +@dirrmtry share/locale/cht/LC_MESSAGES +@dirrmtry share/locale/cht +@dirrmtry share/locale/chs/LC_MESSAGES +@dirrmtry share/locale/chs +@dirrmtry share/locale/ca_ES/LC_MESSAGES +@dirrmtry share/locale/ca_ES