5e04994940
writing single instance applications. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side. WWW: http://search.cpan.org/dist/Gtk2-Unique/
29 lines
728 B
Makefile
29 lines
728 B
Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Gtk2-Unique
|
|
PORTVERSION= 0.05
|
|
#PORTREVISION= 0
|
|
CATEGORIES= x11-toolkits gnome perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Perl binding for the C library libunique
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-ExtUtils-Depends>=0:${PORTSDIR}/devel/p5-ExtUtils-Depends \
|
|
p5-ExtUtils-PkgConfig>=0:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \
|
|
p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2
|
|
LIB_DEPENDS= libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique
|
|
RUN_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USES= perl5
|
|
USE_GNOME= gconf2
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.mk>
|