mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 1.1.7,1
- Pass maintainership to submitter - Remove leading article from COMMENT - Add license (GPLv3) - Add dependency for textproc/p5-XML-Parser - Support STAGEDIR and add OPTIONS_SUB - Add DOCS - Add DOCS and NLS Options - Simplify Option handling - Remove obsolete REINPLACE_CMD - Use REINPLACE_CMD instead of simple patches - Add patch, fix start in FreeBSD (add g_mutex_trylock) Approved by: pawel / wg (mentors, implicit)
This commit is contained in:
parent
9b2d5f0c70
commit
4326acdf4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338324
5 changed files with 39 additions and 40 deletions
|
@ -2,34 +2,40 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= parcellite
|
PORTNAME= parcellite
|
||||||
PORTVERSION= 1.0.1
|
PORTVERSION= 1.1.7
|
||||||
PORTREVISION= 1
|
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= deskutils
|
CATEGORIES= deskutils
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= jrm@ftfl.ca
|
MAINTAINER= nemysis@FreeBSD.org
|
||||||
COMMENT= A lightweight GTK+ clipboard manager
|
COMMENT= Lightweight GTK+ clipboard manager
|
||||||
|
|
||||||
|
LICENSE= GPLv3
|
||||||
|
|
||||||
|
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
USES= gmake pkgconfig
|
USES= gmake pkgconfig
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
USE_GNOME= gtk20
|
USE_GNOME= gtk20
|
||||||
|
|
||||||
NO_STAGE= yes
|
PORTDOCS= AUTHORS ChangeLog README TODO
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS NLS
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
|
NLS_CONFIGURE_ENABLE= nls
|
||||||
|
NLS_USES= gettext
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
post-patch:
|
||||||
.if ${PORT_OPTIONS:MNLS}
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
USES+= gettext
|
@${REINPLACE_CMD} -e 's|$$(DATADIRNAME)/locale|share/locale|' \
|
||||||
PLIST_SUB+= NLS=""
|
${WRKSRC}/po/Makefile.in.in
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-nls
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
MAN1= parcellite.1
|
post-install:
|
||||||
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
post-patch:
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g'\
|
|
||||||
${WRKSRC}/src/keybinder.h
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (parcellite-1.0.1.tar.gz) = a4e7a1bd0616683b7eb4b08350cdaa355b1c9d5c93a4caa0cef4a813cf4cc526
|
SHA256 (parcellite-1.1.7.tar.gz) = 870f3789f247b200a609cb6dbefa42204779b2575a9dafa5b90828d2fce05f5f
|
||||||
SIZE (parcellite-1.0.1.tar.gz) = 555184
|
SIZE (parcellite-1.1.7.tar.gz) = 723826
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
*** po/Makefile.in.in.orig Tue May 5 19:45:52 2009
|
|
||||||
--- po/Makefile.in.in Tue May 5 19:46:58 2009
|
|
||||||
***************
|
|
||||||
*** 34,40 ****
|
|
||||||
datarootdir = @datarootdir@
|
|
||||||
libdir = @libdir@
|
|
||||||
DATADIRNAME = @DATADIRNAME@
|
|
||||||
! itlocaledir = $(prefix)/$(DATADIRNAME)/locale
|
|
||||||
subdir = po
|
|
||||||
install_sh = @install_sh@
|
|
||||||
# Automake >= 1.8 provides @mkdir_p@.
|
|
||||||
--- 34,40 ----
|
|
||||||
datarootdir = @datarootdir@
|
|
||||||
libdir = @libdir@
|
|
||||||
DATADIRNAME = @DATADIRNAME@
|
|
||||||
! itlocaledir = $(datarootdir)/locale
|
|
||||||
subdir = po
|
|
||||||
install_sh = @install_sh@
|
|
||||||
# Automake >= 1.8 provides @mkdir_p@.
|
|
10
deskutils/parcellite/files/patch-src__main.c
Normal file
10
deskutils/parcellite/files/patch-src__main.c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- ./src/main.c.orig 2013-10-15 19:39:04.000000000 +0200
|
||||||
|
+++ ./src/main.c 2013-12-31 15:12:54.000000000 +0100
|
||||||
|
@@ -2097,6 +2097,7 @@
|
||||||
|
}
|
||||||
|
clip_lock= g_mutex_new();
|
||||||
|
hist_lock= g_mutex_new();
|
||||||
|
+ g_mutex_trylock(clip_lock);
|
||||||
|
g_mutex_unlock(clip_lock);
|
||||||
|
|
||||||
|
show_icon=!get_pref_int32("no_icon");
|
|
@ -1,9 +1,8 @@
|
||||||
bin/parcellite
|
bin/parcellite
|
||||||
etc/xdg/autostart/parcellite-startup.desktop
|
etc/xdg/autostart/parcellite-startup.desktop
|
||||||
|
man/man1/parcellite.1.gz
|
||||||
share/applications/parcellite.desktop
|
share/applications/parcellite.desktop
|
||||||
share/pixmaps/parcellite.png
|
%%NLS%%share/locale/ca/LC_MESSAGES/parcellite.mo
|
||||||
share/pixmaps/parcellite.svg
|
|
||||||
share/pixmaps/parcellite.xpm
|
|
||||||
%%NLS%%share/locale/cs/LC_MESSAGES/parcellite.mo
|
%%NLS%%share/locale/cs/LC_MESSAGES/parcellite.mo
|
||||||
%%NLS%%share/locale/da/LC_MESSAGES/parcellite.mo
|
%%NLS%%share/locale/da/LC_MESSAGES/parcellite.mo
|
||||||
%%NLS%%share/locale/de/LC_MESSAGES/parcellite.mo
|
%%NLS%%share/locale/de/LC_MESSAGES/parcellite.mo
|
||||||
|
@ -21,5 +20,8 @@ share/pixmaps/parcellite.xpm
|
||||||
%%NLS%%share/locale/sv/LC_MESSAGES/parcellite.mo
|
%%NLS%%share/locale/sv/LC_MESSAGES/parcellite.mo
|
||||||
%%NLS%%share/locale/tr/LC_MESSAGES/parcellite.mo
|
%%NLS%%share/locale/tr/LC_MESSAGES/parcellite.mo
|
||||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/parcellite.mo
|
%%NLS%%share/locale/zh_CN/LC_MESSAGES/parcellite.mo
|
||||||
|
share/pixmaps/parcellite.png
|
||||||
|
share/pixmaps/parcellite.svg
|
||||||
|
share/pixmaps/parcellite.xpm
|
||||||
%%NLS%%@dirrmtry share/locale/pl_PL/LC_MESSAGES
|
%%NLS%%@dirrmtry share/locale/pl_PL/LC_MESSAGES
|
||||||
%%NLS%%@dirrmtry share/locale/pl_PL
|
%%NLS%%@dirrmtry share/locale/pl_PL
|
||||||
|
|
Loading…
Add table
Reference in a new issue