Update graphics/cimg to version 1.7.5,3
[dports.git] / graphics / animorph / Makefile
1 # Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
2 # $FreeBSD$
3
4 PORTNAME=       animorph
5 PORTVERSION=    0.3
6 PORTREVISION=   1
7 CATEGORIES=     graphics
8 MASTER_SITES=   SF/makehuman/MakeHuman%20Source/MakeHuman_091
9
10 MAINTAINER=     amdmi3@FreeBSD.org
11 COMMENT=        Morphing engine for MakeHuman
12
13 LICENSE=        LGPL21
14
15 GNU_CONFIGURE=  yes
16 USES=           pkgconfig gmake libtool
17 USE_LDCONFIG=   yes
18 INSTALL_TARGET= install-strip
19 USE_GCC=        any # otherwise graphics/makehuman won't link
20
21 CPPFLAGS+=      -I${LOCALBASE}/include
22 LDFLAGS+=       -L${LOCALBASE}/lib
23
24 PORTDOCS=       *
25
26 OPTIONS_DEFINE= DOCS
27
28 post-patch:
29         @${REINPLACE_CMD} -e '/^libanimorphdocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
30         @${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in
31
32 .include <bsd.port.mk>