summaryrefslogtreecommitdiff
path: root/sysutils/gdmap/Makefile
blob: 2c430663f83d13d82c14dca4f1d30d0878c19e32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Rodrigo Graeff <delphus@gmail.com>
# $FreeBSD$

PORTNAME=	gdmap
PORTVERSION=	0.7.5
PORTREVISION=	7
CATEGORIES=	sysutils gnome
MASTER_SITES=	SF

MAINTAINER=	delphus@gmail.com
COMMENT=	Graphical disk map Utility

BUILD_DEPENDS=	p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser

USE_GNOME=	gnomeprefix gnomehack gtk20
USES=		gmake perl5 pkgconfig
GNU_CONFIGURE=	yes

MAN1=	gdmap.1

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's,<sys/vfs.h>,<sys/statvfs.h>,' \
		${WRKSRC}/src/gui_main.c
	@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
		${WRKSRC}/configure

.include <bsd.port.mk>