freebsd-ports/cad/gerbv/Makefile

42 lines
858 B
Makefile
Raw Normal View History

2002-07-15 22:00:33 +02:00
# ex:ts=8
# Ports collection makefile for: gerbv
# Date created: Jul 16, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gerbv
PORTVERSION= 0.0.9
#PORTREVISION= 1
2002-07-15 22:00:33 +02:00
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
2002-07-15 22:00:33 +02:00
USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= gdkpixbuf
2002-07-15 22:00:33 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2002-07-15 22:00:33 +02:00
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
CONFIGURE_ARGS= --enable-exportpng
2002-07-15 22:00:33 +02:00
MAN1= gerbv.1
post-patch:
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/amacro.c
post-install:
.if !defined(NOPORTDOCS)
2002-07-15 22:00:33 +02:00
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && pax -rw . ${DOCSDIR}
2002-07-15 22:00:33 +02:00
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/example && pax -rw . ${EXAMPLESDIR}
2002-07-15 22:00:33 +02:00
.endif
.include <bsd.port.mk>