1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

Update to 1.46. Prima can now leverage pkg-config, so switch to

that rather than using CONFIGURE_ARGS.

Changes: https://metacpan.org/changes/distribution/Prima
This commit is contained in:
Adam Weinberger 2016-03-20 23:45:57 +00:00
parent 525638c172
commit 876cdcc92d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411527
4 changed files with 5 additions and 24 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Prima
PORTVERSION= 1.45
PORTREVISION= 1
PORTVERSION= 1.46
CATEGORIES= x11-toolkits graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -20,9 +19,7 @@ LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
OPTIONS_DEFINE= GTK2 ICONV XFT
OPTIONS_DEFAULT=ICONV XFT
CONFIGURE_ARGS= EXTRA_CCFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" \
X11BASE=${LOCALBASE}
USES= jpeg perl5
USES= jpeg perl5 pkgconfig
USE_PERL5= configure
USE_XORG= x11 xext xpm xrender
MAKE_JOBS_UNSAFE= yes

View File

@ -1,2 +1,2 @@
SHA256 (Prima-1.45.tar.gz) = b946f76c7107d72702ffbcda7f645a7dbee044816c8d001b114a855c6597a572
SIZE (Prima-1.45.tar.gz) = 1393209
SHA256 (Prima-1.46.tar.gz) = 0661c68a8303a94115f1b67e9c470d6c61fe45ea1dad7b50e0b4ae656ec43cd9
SIZE (Prima-1.46.tar.gz) = 1407717

View File

@ -1,17 +0,0 @@
--- unix/apc_misc.c.orig 2015-11-04 21:39:04 UTC
+++ unix/apc_misc.c
@@ -1239,12 +1239,14 @@ apc_beep_tone( int freq, int duration)
return true;
}
+#ifdef WITH_GTK2
#include <gtk/gtk.h>
static void _gtk_callback( GtkWidget *widget, gpointer data )
{
g_print ("Hello again - %s was pressed\n", (char *) data);
}
+#endif
char *
apc_system_action( const char *s)

View File

@ -200,6 +200,7 @@ bin/tmlink
%%SITE_ARCH%%/Prima/examples/fontdlg.pl
%%SITE_ARCH%%/Prima/examples/frames.pl
%%SITE_ARCH%%/Prima/examples/generic.pl
%%SITE_ARCH%%/Prima/examples/gradient.pl
%%SITE_ARCH%%/Prima/examples/grid.pl
%%SITE_ARCH%%/Prima/examples/grip.pl
%%SITE_ARCH%%/Prima/examples/iv.pl