2007-04-10 20:55:17 +02:00
|
|
|
# New ports collection makefile for: mhgui
|
|
|
|
# Date created: 31 Mar 2007
|
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mhgui
|
2007-12-18 19:45:37 +01:00
|
|
|
PORTVERSION= 0.2
|
2010-03-29 20:19:06 +02:00
|
|
|
PORTREVISION= 3
|
2007-04-10 20:55:17 +02:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/makehuman/MakeHuman%20Source/MakeHuman_091
|
2007-04-10 20:55:17 +02:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2007-04-10 20:55:17 +02:00
|
|
|
COMMENT= GUI widget library for MakeHuman
|
|
|
|
|
2009-01-23 17:28:36 +01:00
|
|
|
LIB_DEPENDS= animorph.0:${PORTSDIR}/graphics/animorph \
|
2010-03-28 08:47:48 +02:00
|
|
|
png.6:${PORTSDIR}/graphics/png
|
2007-04-10 20:55:17 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= pkgconfig
|
|
|
|
USE_LDCONFIG= yes
|
2009-01-23 17:28:36 +01:00
|
|
|
USE_GL= glut
|
2007-04-10 20:55:17 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-04-10 20:55:17 +02:00
|
|
|
|
2007-12-18 19:45:37 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2007-04-10 20:55:17 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^libmhguidocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libmhguidocDATA||' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|