1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/cad/gerbv/Makefile
Ying-Chieh Liao 9883e48d47 switch to GNOMENG
Enable PNG support properly

PR:		41027
Submitted by:	Ports Fury
2002-08-05 04:25:24 +00:00

42 lines
858 B
Makefile

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