2013-06-18 13:46:51 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2006-03-19 00:40:42 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= makehuman
|
2007-12-18 19:45:35 +01:00
|
|
|
DISTVERSION= 0.9.1-rc1a
|
2012-08-05 00:52:02 +02:00
|
|
|
PORTREVISION= 5
|
2006-03-19 00:40:42 +01:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/MakeHuman%20Source/MakeHuman_091
|
2006-03-19 00:40:42 +01:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2006-03-19 00:40:42 +01:00
|
|
|
COMMENT= Application for parametrical modeling of 3D humanoid characters
|
|
|
|
|
2013-09-25 01:24:51 +02:00
|
|
|
LIB_DEPENDS= libanimorph.so:${PORTSDIR}/graphics/animorph \
|
|
|
|
libmhgui.so:${PORTSDIR}/graphics/mhgui
|
2006-03-19 00:40:42 +01:00
|
|
|
|
2013-07-06 09:59:09 +02:00
|
|
|
USES= gmake pkgconfig
|
2006-03-19 00:40:42 +01:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= glut
|
2013-09-25 01:24:51 +02:00
|
|
|
USE_GCC= any # Animation.cpp:94:26: error: variable length array of non-POD element type 'Animorph::BodySettings'
|
2006-03-19 00:40:42 +01:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-03-19 00:40:42 +01:00
|
|
|
|
2013-09-25 01:24:51 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2007-12-18 19:45:35 +01:00
|
|
|
PORTDOCS= *
|
2013-09-25 01:24:51 +02:00
|
|
|
PORTDATA= *
|
2013-06-18 13:46:51 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2007-12-18 19:45:35 +01:00
|
|
|
|
2006-03-19 00:40:42 +01:00
|
|
|
post-patch:
|
2007-12-18 19:45:35 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,find . \(-name .*\) -exec cp --parents {} \(.*\) \\;,find -d . \1 | ${CPIO} -dumpl \2,g' \
|
|
|
|
${WRKSRC}/pixmaps/Makefile.in ${WRKSRC}/data/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/getUserWorkDir/ s|"makehuman"|".makehuman"|g' ${WRKSRC}/src/util.cpp
|
2007-04-18 00:10:38 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^makehuman_pixmapsdir =/ s|pixmaps/makehuman|makehuman/pixmaps|' ${WRKSRC}/pixmaps/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/^packagepixmapsdir=/ s|pixmaps/\$${PACKAGE}|$${PACKAGE}/pixmaps|' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e '/^makehumandocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
|
2006-03-19 00:40:42 +01:00
|
|
|
|
2008-02-10 14:29:24 +01:00
|
|
|
post-install:
|
2013-09-25 01:24:51 +02:00
|
|
|
${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0755
|
|
|
|
${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0644
|
2008-02-10 14:29:24 +01:00
|
|
|
|
2006-03-19 00:40:42 +01:00
|
|
|
.include <bsd.port.mk>
|