diff options
Diffstat (limited to 'print/ggv')
-rw-r--r-- | print/ggv/Makefile | 8 | ||||
-rw-r--r-- | print/ggv/files/patch-src_Makefile.in | 11 | ||||
-rw-r--r-- | print/ggv/pkg-plist | 1 |
3 files changed, 6 insertions, 14 deletions
diff --git a/print/ggv/Makefile b/print/ggv/Makefile index cf92590fe7e4..5a519bd39985 100644 --- a/print/ggv/Makefile +++ b/print/ggv/Makefile @@ -14,13 +14,17 @@ COMMENT= GNOME 2 ghostscript viewer INSTALLS_OMF= yes USE_GNOME= gnomeprefix intlhack libgnomeui -USES= desktop-file-utils gettext gmake pathfix pkgconfig tar:bzip2 +USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ + tar:bzip2 USE_GHOSTSCRIPT=yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib -lm INSTALL_TARGET= install-strip GCONF_SCHEMAS= ggv.schemas +post-patch: + @${REINPLACE_CMD} '/^LIBS =/s/=.*/= @LIBS@/' ${WRKSRC}/src/Makefile.in + .include <bsd.port.mk> diff --git a/print/ggv/files/patch-src_Makefile.in b/print/ggv/files/patch-src_Makefile.in deleted file mode 100644 index 76847cf3e9b2..000000000000 --- a/print/ggv/files/patch-src_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.in.orig Sun Dec 5 18:19:25 2004 -+++ src/Makefile.in Sun Dec 5 18:20:13 2004 -@@ -142,7 +142,7 @@ - - SUBDIRS = recent-files stock cursors - --INCLUDES = -I$(top_srcdir)/recent-files -DG_LOG_DOMAIN=\"GGV\" -DGNOMELOCALEDIR=\""${prefix}/${DATADIRNAME}/locale"\" -DGNOMEICONDIR=\""${prefix}/${DATADIRNAME}/pixmaps"\" -DDATADIR=\""$(datadir)"\" $(GGV_CFLAGS) $(GGV_DEPRECATED_CFLAGS) -+INCLUDES = -I$(top_srcdir)/recent-files -DG_LOG_DOMAIN=\"GGV\" -DGNOMELOCALEDIR=\""${prefix}/${DATADIRNAME}/locale"\" -DGNOMEICONDIR=\""${datadir}/pixmaps"\" -DDATADIR=\""$(datadir)"\" $(GGV_CFLAGS) $(GGV_DEPRECATED_CFLAGS) - - - bin_PROGRAMS = ggv diff --git a/print/ggv/pkg-plist b/print/ggv/pkg-plist index de58dd02a8d7..3d3fe17ede2d 100644 --- a/print/ggv/pkg-plist +++ b/print/ggv/pkg-plist @@ -148,7 +148,6 @@ share/locale/zh_TW/LC_MESSAGES/ggv.mo @dirrm share/gnome/help/ggv/C/figures @dirrm share/gnome/help/ggv/C @dirrm share/gnome/help/ggv -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true @dirrmtry share/locale/xh/LC_MESSAGES @dirrmtry share/locale/xh @dirrmtry share/locale/rw/LC_MESSAGES |