|
Lines 1-25
Link Here
|
| 1 |
# New ports collection makefile for: mhgui |
1 |
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru> |
| 2 |
# Date created: 31 Mar 2007 |
|
|
| 3 |
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> |
| 4 |
# |
| 5 |
# $FreeBSD: head/graphics/mhgui/Makefile 302037 2012-08-04 22:52:02Z kwm $ |
2 |
# $FreeBSD: head/graphics/mhgui/Makefile 302037 2012-08-04 22:52:02Z kwm $ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= mhgui |
4 |
PORTNAME= mhgui |
| 9 |
PORTVERSION= 0.2 |
5 |
PORTVERSION= 0.2 |
| 10 |
PORTREVISION= 5 |
6 |
PORTREVISION= 6 |
| 11 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
| 12 |
MASTER_SITES= SF/makehuman/MakeHuman%20Source/MakeHuman_091 |
8 |
MASTER_SITES= SF/makehuman/MakeHuman%20Source/MakeHuman_091 |
| 13 |
|
9 |
|
| 14 |
MAINTAINER= amdmi3@FreeBSD.org |
10 |
MAINTAINER= amdmi3@FreeBSD.org |
| 15 |
COMMENT= GUI widget library for MakeHuman |
11 |
COMMENT= GUI widget library for MakeHuman |
| 16 |
|
12 |
|
|
|
13 |
LICENSE= GPLv2 |
| 14 |
|
| 17 |
LIB_DEPENDS= animorph.0:${PORTSDIR}/graphics/animorph \ |
15 |
LIB_DEPENDS= animorph.0:${PORTSDIR}/graphics/animorph \ |
| 18 |
png15:${PORTSDIR}/graphics/png |
16 |
png15:${PORTSDIR}/graphics/png |
| 19 |
|
17 |
|
| 20 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
| 21 |
USE_GMAKE= yes |
19 |
USE_GMAKE= yes |
| 22 |
USE_GNOME= pkgconfig |
20 |
USE_PKGCONFIG= build |
| 23 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
| 24 |
USE_XORG= xi xmu ice sm |
22 |
USE_XORG= xi xmu ice sm |
| 25 |
USE_GL= glut |
23 |
USE_GL= glut |
|
Lines 27-41
Link Here
|
| 27 |
CPPFLAGS+= -I${LOCALBASE}/include |
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 28 |
LDFLAGS+= -L${LOCALBASE}/lib |
26 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 29 |
|
27 |
|
| 30 |
.if !defined(NOPORTDOCS) |
28 |
PORTDOCS= AUTHORS TODO |
| 31 |
PORTDOCS= * |
29 |
|
| 32 |
.endif |
30 |
.include <bsd.port.options.mk> |
| 33 |
|
31 |
|
| 34 |
post-patch: |
32 |
post-patch: |
| 35 |
@${REINPLACE_CMD} -e '/^libmhguidocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in |
33 |
@${REINPLACE_CMD} -e '/^libmhguidocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in |
| 36 |
@${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in |
34 |
@${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in |
| 37 |
.if defined(NOPORTDOCS) |
35 |
|
| 38 |
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libmhguidocDATA||' ${WRKSRC}/Makefile.in |
36 |
.if ! ${PORT_OPTIONS:MDOCS} |
|
|
37 |
@${REINPLACE_CMD} -i '' '/install-libmhguidocDATA: $$(libmhguidoc_DATA)/,/done/s/^/#/' \ |
| 38 |
${WRKSRC}/Makefile.in |
| 39 |
.endif |
| 40 |
|
| 41 |
.if ${PORT_OPTIONS:MDOCS} |
| 42 |
@${REINPLACE_CMD} -i '' '/libmhguidoc_DATA =/,/TODO/s/^/#/' \ |
| 43 |
${WRKSRC}/Makefile.in |
| 44 |
.endif |
| 45 |
|
| 46 |
post-install: |
| 47 |
.if ${PORT_OPTIONS:MDOCS} |
| 48 |
@${MKDIR} ${DOCSDIR} |
| 49 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
| 39 |
.endif |
50 |
.endif |
| 40 |
|
51 |
|
| 41 |
.include <bsd.port.mk> |
52 |
.include <bsd.port.mk> |