diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-06-11 14:49:59 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-06-11 14:49:59 +0000 |
commit | 9f8b4bcde30c0ca3bf6cead5f48aa102536e0e92 (patch) | |
tree | c4f78cbaf45ab044db3e157be708afd711a4e841 /graphics/gimageview/Makefile | |
parent | 0533abe3e7aae5c19e0a0ce9c1e82ed5e94f63e8 (diff) | |
download | ports-9f8b4bcde30c0ca3bf6cead5f48aa102536e0e92.tar.gz ports-9f8b4bcde30c0ca3bf6cead5f48aa102536e0e92.zip |
Notes
Diffstat (limited to 'graphics/gimageview/Makefile')
-rw-r--r-- | graphics/gimageview/Makefile | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile index d2212e416a6b..17be5d28be2a 100644 --- a/graphics/gimageview/Makefile +++ b/graphics/gimageview/Makefile @@ -3,7 +3,7 @@ PORTNAME= gimageview PORTVERSION= 0.2.27 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= SF/gtkmmviewer/${PORTNAME}/${PORTVERSION} @@ -13,15 +13,13 @@ COMMENT= Yet another GTK+ based image viewer LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng15.so:${PORTSDIR}/graphics/png -USES= gmake pkgconfig +USES= gmake libtool pkgconfig GNU_CONFIGURE= yes USE_GNOME= gtk20 USE_XORG= xinerama ice CONFIGURE_ARGS= --with-gtk2 -CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" -CFLAGS+= -DUSE_GTK2 CPPFLAGS+= -I${LOCALBASE}/include -MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" +LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip OPTIONS_DEFINE= SPLASH NLS LIBMNG LIBWMF LIBRSVG2 LIBEXIF MPLAYER LIBXINE IMLIB @@ -56,24 +54,12 @@ MPLAYER_CONFIGURE_ENABLE=mplayer MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer LIBXINE_CONFIGURE_WITH= xine -LIBXINE_LIB_DEPENDS= xine:${PORTSDIR}/multimedia/libxine - -.include <bsd.port.options.mk> +LIBXINE_LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine post-patch: - @${REINPLACE_CMD} -e 's/DATADIRNAME=lib/DATADIRNAME=share/g' \ - -e 's|echo aout|echo elf|' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/gnome/apps/|/apps/|' \ - ${WRKSRC}/gimageview.spec \ + @${REINPLACE_CMD} '/^desktopdir =/s|=.*|= ${DESKTOPDIR}|' \ ${WRKSRC}/etc/Makefile.in - @${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} \ - 's|= $$(DESTDIR)|= |' {} \; - -post-configure: -.if ${PORT_OPTIONS:MIMLIB} - @${FIND} ${WRKSRC} -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} -Ee \ - 's/^(GDK_IMLIB_(CFLAGS|LIBS) =).*$$/$${1}/' -.endif + @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ + -e 's|= $$(DESTDIR)|= |' -e '/^CPPFLAGS =/s/\\/@CPPFLAGS@ \\/' .include <bsd.port.mk> |