summaryrefslogtreecommitdiffstats
path: root/net/gastman/Makefile
blob: 040db26e10e5e5e066fcb88846060069c8fe9627 (plain)
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
29
30
# New ports collection makefile for:	gastman
# Date created:		2005-07-11
# Whom:			Filippo Natali <filippo.natali@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	gastman
PORTVERSION=	1.0.r1
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://ftp.digium.com/pub/gastman/
DISTNAME=	${PORTNAME}-1.0-RC1

MAINTAINER=	filippo.natali@gmail.com
COMMENT=	Graphical Manager interface for Asterisk

USE_X_PREFIX=	yes
USE_GNOME=	gtk20
USE_GMAKE=	yes

post-patch:
	@${REINPLACE_CMD} -e \
		's|^CFLAGS=|CFLAGS= -I${WRKSRC}/include ${CFLAGS}|g; \
		 s|$$(INSTALL_PREFIX)/usr/sbin|${PREFIX}/bin|g; \
		 s|$$(INSTALL_PREFIX)/usr/share|${PREFIX}/share|g' ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e \
		 's|ICON_PATH "/usr/share/gastman/icons"|ICON_PATH "${PREFIX}/share/${PORTNAME}/icons"|g' ${WRKSRC}/gui.c

.include <bsd.port.mk>
OpenPOWER on IntegriCloud