aboutsummaryrefslogtreecommitdiff
path: root/graphics/animorph
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-23 03:30:30 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-23 03:30:30 +0000
commitd58f045522723a19fa8d4bba963ffc23f13d6077 (patch)
tree21d7eb282de146620bd9dd349bb7aae35d8f81ba /graphics/animorph
parent063ec749756fbc3ed93dc961765718132a7b8b47 (diff)
downloadports-d58f045522723a19fa8d4bba963ffc23f13d6077.tar.gz
ports-d58f045522723a19fa8d4bba963ffc23f13d6077.zip
- Trim Makefile header
- OptionsNG - Add LICENSE - Switch to USE_PKGCONFIG PR: 177146 Submitted by: nemysis <nemysis@gmx.ch>
Notes
Notes: svn path=/head/; revision=318835
Diffstat (limited to 'graphics/animorph')
-rw-r--r--graphics/animorph/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/graphics/animorph/Makefile b/graphics/animorph/Makefile
index 2e6542c2e9b8..d793f6e09d92 100644
--- a/graphics/animorph/Makefile
+++ b/graphics/animorph/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: animorph
-# Date created: 31 Mar 2007
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= animorph
PORTVERSION= 0.3
@@ -13,22 +9,24 @@ MASTER_SITES= SF/makehuman/MakeHuman%20Source/MakeHuman_091
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 <bsd.port.options.mk>
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