aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-03 15:40:48 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-03 15:40:48 +0000
commit69455b6eb2b8c446edb8f6bda1c14ccd186626fa (patch)
tree31c05477a573a67541945c2b669b7d65e56be89d /graphics
parent2a19b5a70b4bbf74f4c64e6aa5f518fd472917e1 (diff)
downloadports-69455b6eb2b8c446edb8f6bda1c14ccd186626fa.tar.gz
ports-69455b6eb2b8c446edb8f6bda1c14ccd186626fa.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gtkam/Makefile13
-rw-r--r--graphics/gtkam/distinfo4
-rw-r--r--graphics/gtkam/files/patch-src_Makefile.in11
3 files changed, 9 insertions, 19 deletions
diff --git a/graphics/gtkam/Makefile b/graphics/gtkam/Makefile
index 7eb18a4c5bd6..385bf24511af 100644
--- a/graphics/gtkam/Makefile
+++ b/graphics/gtkam/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gtkam
-PORTVERSION= 0.1.11
-PORTREVISION= 1
+PORTVERSION= 0.1.12
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gphoto
@@ -29,7 +28,7 @@ MAN1= gtkam.1
.include <bsd.port.pre.mk>
-.if exists(${X11BASE}/lib/libgimp-2.0.so)
+.if exists(${X11BASE}/lib/libgimp-2.0.so) && !defined(WITHOUT_GIMP)
WITH_GIMP= yes
.endif
@@ -47,7 +46,7 @@ USE_GNOME+= gnomeprefix libgnomeui
MAKE_ENV+= GNOME_SUBDIRS="help omf-install"
DATADIR= ${PREFIX}/share/gnome/${PORTNAME}
.else
-CONFIGURE_ARGS+= --without-bonobo-activation --without-gnome
+CONFIGURE_ARGS+= --without-bonobo --without-gnome
MAKE_ENV+= GNOME_SUBDIRS=""
.endif
@@ -63,8 +62,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|-g -Wall||g ; \
s|gimpui-1.3|gimpui-2.0|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|images/gtkam|gtkam/images|g'
- @${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' ${WRKSRC}/src/Makefile.in
+ 's|images/gtkam|gtkam/images|g ; \
+ s|-pedantic||g ; \
+ s|$$(libdir)/gimp/1.3/|$$(libexecdir)/gimp/2.0/|g'
+ @${ECHO_CMD} "Icon=gtkam.png" >> ${WRKSRC}/gtkam.desktop
post-install:
${INSTALL_DATA} ${WRKSRC}/gtkam.desktop \
diff --git a/graphics/gtkam/distinfo b/graphics/gtkam/distinfo
index 372641b60bdf..6abfba411738 100644
--- a/graphics/gtkam/distinfo
+++ b/graphics/gtkam/distinfo
@@ -1,2 +1,2 @@
-MD5 (gtkam-0.1.11.tar.gz) = 084e90e73179e9cac6664fd1b30e86d8
-SIZE (gtkam-0.1.11.tar.gz) = 611388
+MD5 (gtkam-0.1.12.tar.gz) = 622170d414718a5ae11487a6af1e47cd
+SIZE (gtkam-0.1.12.tar.gz) = 611323
diff --git a/graphics/gtkam/files/patch-src_Makefile.in b/graphics/gtkam/files/patch-src_Makefile.in
deleted file mode 100644
index 6c213beccd56..000000000000
--- a/graphics/gtkam/files/patch-src_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Sat Feb 22 17:57:10 2003
-+++ src/Makefile.in Sat Feb 22 17:57:28 2003
-@@ -169,7 +169,7 @@
- $(GNOME_LIBS)
-
-
--@HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libdir)/gimp/1.3/plug-ins
-+@HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libexecdir)/gimp/2.0/plug-ins
- @HAVE_GIMP_TRUE@gtkam_gimp_libexec_PROGRAMS = gtkam-gimp
- @HAVE_GIMP_TRUE@gtkam_gimp_SOURCES = gtkam-gimp.c
- @HAVE_GIMP_TRUE@gtkam_gimp_LDADD = \