blob: 0db09da1ba3ec527656ace683c8dbf6f4100204c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# ex:ts=8
# Ports collection makefile for: gerbv
# Date created: Jul 16, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gerbv
PORTVERSION= 0.0.9
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gdk_pixbuf:${PORTSDIR}/graphics/gdk-pixbuf \
png:${PORTSDIR}/graphics/png \
gnugetopt:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
MAN1= gerbv.1
post-patch:
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/amacro.c
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/example/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|