summaryrefslogtreecommitdiffstats
path: root/graphics/gsculpt/Makefile
blob: cd8dc4e9659a9dbf0c6f4a3c7744e1a0740c2597 (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
31
32
# ex:ts=8
# New ports collection makefile for:	gSculpt
# Date created:			Oct 10, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	gsculpt
PORTVERSION=	0.3
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://gsculpt.sourceforge.net/downloads/
DISTNAME=	gSculpt-${PORTVERSION}-src

MAINTAINER=	ports@FreeBSD.org

WRKSRC=		${WRKDIR}/gSculpt-${PORTVERSION}
USE_GTK=	yes
USE_GMAKE=	yes

post-patch:
	@${PERL} -pi -e "s,-O3 -Wall -Werror,${CXXFLAGS},g ; \
		s,gtk-config,${GTK_CONFIG},g ; \
		s,/usr/include/glib.h,${LOCALBASE}/include/glib12/glib.h,g ; \
		s,/usr/include/gtk/,${X11BASE}/include/gtk12/gtk/,g ; \
		s,/usr/include/gdk/,${X11BASE}/include/gtk12/gdk/,g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/gsculpt ${PREFIX}/bin

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