2013-05-23 05:30:30 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2007-04-10 20:55:17 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mhgui
|
2007-12-18 19:45:37 +01:00
|
|
|
PORTVERSION= 0.2
|
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
2018-07-30 00:18:44 +02:00
|
|
|
PORTREVISION= 15
|
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
|
|
|
|
|
2013-05-23 05:30:30 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libanimorph.so:graphics/animorph \
|
|
|
|
libpng.so:graphics/png
|
2007-04-10 20:55:17 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-07-24 00:29:30 +02:00
|
|
|
USES= pkgconfig gmake libtool
|
2007-04-10 20:55:17 +02:00
|
|
|
USE_LDCONFIG= yes
|
2012-08-05 00:52:02 +02:00
|
|
|
USE_XORG= xi xmu ice sm
|
2009-01-23 17:28:36 +01:00
|
|
|
USE_GL= glut
|
2014-07-24 00:29:30 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2013-09-25 01:24:51 +02:00
|
|
|
USE_GCC= any # otherwise graphics/makehuman won't link
|
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
|
|
|
PORTDOCS= *
|
2013-05-23 05:30:30 +02:00
|
|
|
|
2014-07-24 00:29:30 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2007-12-18 19:45:37 +01:00
|
|
|
|
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
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|