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-28 08:47:48 +02:00
|
|
|
PORTREVISION= 2
|
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
|
|
|
|
- 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
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
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>
|