diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-08-05 04:25:24 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-08-05 04:25:24 +0000 |
commit | 9883e48d473fb06893550f50596c0a358581e83c (patch) | |
tree | c9e26dfd608a9e34dc9873556b4b810f95002e2c /cad/gerbv/Makefile | |
parent | upgrade to 1.4.16 (diff) |
switch to GNOMENG
Enable PNG support properly
PR: 41027
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=64023
Diffstat (limited to 'cad/gerbv/Makefile')
-rw-r--r-- | cad/gerbv/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile index 0db09da1ba3e..601284fe22a7 100644 --- a/cad/gerbv/Makefile +++ b/cad/gerbv/Makefile @@ -8,33 +8,34 @@ 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= gdk_pixbuf:${PORTSDIR}/graphics/gdk-pixbuf \ - png:${PORTSDIR}/graphics/png \ - gnugetopt:${PORTSDIR}/devel/libgnugetopt +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt USE_REINPLACE= yes -USE_GTK= yes +USE_GNOMENG= yes +USE_GNOME= gdkpixbuf GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ +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 -.if !defined(NOPORTDOCS) post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} + cd ${WRKSRC}/doc && pax -rw . ${DOCSDIR} @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/example/* ${EXAMPLESDIR} + cd ${WRKSRC}/example && pax -rw . ${EXAMPLESDIR} .endif .include <bsd.port.mk> |