PORTNAME= gdmap PORTVERSION= 0.8.1 PORTREVISION= 3 CATEGORIES= sysutils gnome MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Graphical disk map Utility WWW= https://gdmap.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser USES= gettext gmake gnome pathfix perl5 pkgconfig USE_PERL5= build USE_GNOME= gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lm post-patch: @${REINPLACE_CMD} -e \ 's|-D.*_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|||' \ ${WRKSRC}/src/gui_main.c @${REINPLACE_CMD} -e \ 's|=\(gdmap_icon.png\)|=${PREFIX}/share/pixmaps/\1|' \ ${WRKSRC}/data/gdmap.desktop.in .include