2006-03-18 23:40:42 +00:00
|
|
|
# New ports collection makefile for: makehuman
|
|
|
|
# Date created: 06 Mar 2006
|
2006-12-21 20:41:33 +00:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2006-03-18 23:40:42 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= makehuman
|
2007-12-18 18:45:35 +00:00
|
|
|
DISTVERSION= 0.9.1-rc1a
|
2008-02-10 13:29:24 +00:00
|
|
|
PORTREVISION= 1
|
2006-03-18 23:40:42 +00:00
|
|
|
CATEGORIES= graphics
|
2007-04-17 22:10:38 +00:00
|
|
|
MASTER_SITES= SF
|
2006-03-18 23:40:42 +00:00
|
|
|
|
2008-06-19 17:28:24 +00:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2006-03-18 23:40:42 +00:00
|
|
|
COMMENT= Application for parametrical modeling of 3D humanoid characters
|
|
|
|
|
2007-04-17 22:10:38 +00:00
|
|
|
LIB_DEPENDS= animorph.0:${PORTSDIR}/graphics/animorph \
|
- 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 17:56:05 +00:00
|
|
|
mhgui.0:${PORTSDIR}/graphics/mhgui
|
2006-03-18 23:40:42 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2007-04-17 22:10:38 +00:00
|
|
|
USE_GNOME= pkgconfig
|
- 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 17:56:05 +00:00
|
|
|
USE_GL= glut
|
2006-03-18 23:40:42 +00:00
|
|
|
|
- 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 17:56:05 +00:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
2006-03-18 23:40:42 +00:00
|
|
|
|
2007-12-18 18:45:35 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2006-03-18 23:40:42 +00:00
|
|
|
post-patch:
|
2007-12-18 18:45:35 +00: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-17 22:10:38 +00: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-18 23:40:42 +00:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-makehumandocDATA||' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2008-02-10 13:29:24 +00:00
|
|
|
post-install:
|
|
|
|
${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0755
|
|
|
|
${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0644
|
|
|
|
|
2006-03-18 23:40:42 +00:00
|
|
|
.include <bsd.port.mk>
|