From owner-svn-ports-head@FreeBSD.ORG Thu May 23 03:30:31 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2439AC8; Thu, 23 May 2013 03:30:31 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 066C2E11; Thu, 23 May 2013 03:30:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4N3UUGE005373; Thu, 23 May 2013 03:30:30 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4N3UUVG005371; Thu, 23 May 2013 03:30:30 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201305230330.r4N3UUVG005371@svn.freebsd.org> From: Dmitry Marakasov Date: Thu, 23 May 2013 03:30:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318835 - in head/graphics: animorph mhgui X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 03:30:31 -0000 Author: amdmi3 Date: Thu May 23 03:30:30 2013 New Revision: 318835 URL: http://svnweb.freebsd.org/changeset/ports/318835 Log: - Trim Makefile header - OptionsNG - Add LICENSE - Switch to USE_PKGCONFIG PR: 177146 Submitted by: nemysis Modified: head/graphics/animorph/Makefile head/graphics/mhgui/Makefile Modified: head/graphics/animorph/Makefile ============================================================================== --- head/graphics/animorph/Makefile Thu May 23 03:28:55 2013 (r318834) +++ head/graphics/animorph/Makefile Thu May 23 03:30:30 2013 (r318835) @@ -1,9 +1,5 @@ -# New ports collection makefile for: animorph -# Date created: 31 Mar 2007 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= animorph PORTVERSION= 0.3 @@ -13,22 +9,24 @@ MASTER_SITES= SF/makehuman/MakeHuman%20S MAINTAINER= amdmi3@FreeBSD.org COMMENT= Morphing engine for MakeHuman +LICENSE= LGPL21 + GNU_CONFIGURE= yes USE_GMAKE= yes -USE_GNOME= pkgconfig +USE_PKGCONFIG= build USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif + +.include post-patch: @${REINPLACE_CMD} -e '/^libanimorphdocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libanimorphdocDATA||' ${WRKSRC}/Makefile.in .endif Modified: head/graphics/mhgui/Makefile ============================================================================== --- head/graphics/mhgui/Makefile Thu May 23 03:28:55 2013 (r318834) +++ head/graphics/mhgui/Makefile Thu May 23 03:30:30 2013 (r318835) @@ -1,9 +1,5 @@ -# New ports collection makefile for: mhgui -# Date created: 31 Mar 2007 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= mhgui PORTVERSION= 0.2 @@ -14,12 +10,14 @@ MASTER_SITES= SF/makehuman/MakeHuman%20S MAINTAINER= amdmi3@FreeBSD.org COMMENT= GUI widget library for MakeHuman +LICENSE= GPLv2 + LIB_DEPENDS= animorph.0:${PORTSDIR}/graphics/animorph \ png15:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes USE_GMAKE= yes -USE_GNOME= pkgconfig +USE_PKGCONFIG= build USE_LDCONFIG= yes USE_XORG= xi xmu ice sm USE_GL= glut @@ -27,14 +25,14 @@ USE_GL= glut CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif + +.include 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) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libmhguidocDATA||' ${WRKSRC}/Makefile.in .endif