aboutsummaryrefslogtreecommitdiff
path: root/graphics/makehuman/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/makehuman/Makefile')
-rw-r--r--graphics/makehuman/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/graphics/makehuman/Makefile b/graphics/makehuman/Makefile
index b4a2edc23710..0269fefa002e 100644
--- a/graphics/makehuman/Makefile
+++ b/graphics/makehuman/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: makehuman
-# Date created: 06 Mar 2006
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= makehuman
DISTVERSION= 0.9.1-rc1a
@@ -14,20 +10,20 @@ MASTER_SITES= SF/${PORTNAME}/MakeHuman%20Source/MakeHuman_091
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Application for parametrical modeling of 3D humanoid characters
-LIB_DEPENDS= animorph.0:${PORTSDIR}/graphics/animorph \
- mhgui.0:${PORTSDIR}/graphics/mhgui
+LIB_DEPENDS= animorph:${PORTSDIR}/graphics/animorph \
+ mhgui:${PORTSDIR}/graphics/mhgui
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= pkgconfig
+USE_PKGCONFIG= build
USE_GL= glut
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-.endif
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's,find . \(-name .*\) -exec cp --parents {} \(.*\) \\;,find -d . \1 | ${CPIO} -dumpl \2,g' \
@@ -36,7 +32,7 @@ post-patch:
@${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
-.if defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-makehumandocDATA||' ${WRKSRC}/Makefile.in
.endif