mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
31 lines
802 B
Makefile
31 lines
802 B
Makefile
|
# 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
|
||
|
CATEGORIES= net
|
||
|
MASTER_SITES= ftp://ftp.asterisk.org/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_REINPLACE= yes
|
||
|
USE_GMAKE= yes
|
||
|
|
||
|
post-patch:
|
||
|
@${REINPLACE_CMD} -e \
|
||
|
's|^CFLAGS=|CFLAGS=${CFLAGS} -D__FreeBSD__ |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>
|