2013-09-02 21:32:24 +00:00
|
|
|
# Created by: Rodrigo Graeff <delphus@gmail.com>
|
2005-10-14 14:36:57 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gdmap
|
2014-03-11 02:39:07 +00:00
|
|
|
PORTVERSION= 0.8.1
|
2016-12-08 19:52:19 +00:00
|
|
|
PORTREVISION= 1
|
2005-10-14 14:36:57 +00:00
|
|
|
CATEGORIES= sysutils gnome
|
2009-08-22 00:35:32 +00:00
|
|
|
MASTER_SITES= SF
|
2005-10-14 14:36:57 +00:00
|
|
|
|
2014-02-28 17:52:04 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-10-14 14:36:57 +00:00
|
|
|
COMMENT= Graphical disk map Utility
|
|
|
|
|
2014-03-11 02:39:07 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 14:25:16 +00:00
|
|
|
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
|
2005-10-14 14:36:57 +00:00
|
|
|
|
2014-03-11 02:39:07 +00:00
|
|
|
USES= gettext gmake pathfix perl5 pkgconfig
|
|
|
|
USE_PERL5= build
|
|
|
|
USE_GNOME= gtk20
|
2005-10-14 14:36:57 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2014-03-11 02:39:07 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-07-07 12:31:13 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lm
|
2005-10-14 14:36:57 +00:00
|
|
|
|
|
|
|
post-patch:
|
2014-03-11 02:39:07 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-D.*_DISABLE_DEPRECATED||g' \
|
2007-10-24 23:37:25 +00:00
|
|
|
${WRKSRC}/configure
|
2014-03-11 02:39:07 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|<sys/vfs.h>|<sys/statvfs.h>|' \
|
|
|
|
${WRKSRC}/src/gui_main.c
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|=\(gdmap_icon.png\)|=${PREFIX}/share/pixmaps/\1|' \
|
|
|
|
${WRKSRC}/data/gdmap.desktop.in
|
2005-10-14 14:36:57 +00:00
|
|
|
|
2007-04-18 19:56:07 +00:00
|
|
|
.include <bsd.port.mk>
|