- 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:
Rusmir Dusko 2013-12-31 15:13:19 +00:00
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

View file

@ -2,34 +2,40 @@
# $FreeBSD$
PORTNAME= parcellite
PORTVERSION= 1.0.1
PORTREVISION= 1
PORTVERSION= 1.1.7
PORTEPOCH= 1
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= jrm@ftfl.ca
COMMENT= A lightweight GTK+ clipboard manager
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Lightweight GTK+ clipboard manager
LICENSE= GPLv3
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
GNU_CONFIGURE= yes
USES= gmake pkgconfig
GNU_CONFIGURE= yes
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>
post-patch:
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
@${REINPLACE_CMD} -e 's|$$(DATADIRNAME)/locale|share/locale|' \
${WRKSRC}/po/Makefile.in.in
.endif
MAN1= parcellite.1
post-patch:
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g'\
${WRKSRC}/src/keybinder.h
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (parcellite-1.0.1.tar.gz) = a4e7a1bd0616683b7eb4b08350cdaa355b1c9d5c93a4caa0cef4a813cf4cc526
SIZE (parcellite-1.0.1.tar.gz) = 555184
SHA256 (parcellite-1.1.7.tar.gz) = 870f3789f247b200a609cb6dbefa42204779b2575a9dafa5b90828d2fce05f5f
SIZE (parcellite-1.1.7.tar.gz) = 723826

View file

@ -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@.

View 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");

View file

@ -1,9 +1,8 @@
bin/parcellite
etc/xdg/autostart/parcellite-startup.desktop
man/man1/parcellite.1.gz
share/applications/parcellite.desktop
share/pixmaps/parcellite.png
share/pixmaps/parcellite.svg
share/pixmaps/parcellite.xpm
%%NLS%%share/locale/ca/LC_MESSAGES/parcellite.mo
%%NLS%%share/locale/cs/LC_MESSAGES/parcellite.mo
%%NLS%%share/locale/da/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/tr/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