diff options
author | kris <kris@FreeBSD.org> | 2002-09-19 09:47:10 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-19 09:47:10 +0800 |
commit | d0a66286b9250a8e9561e0efacb03443bb52309f (patch) | |
tree | feb66d0319cb9113d0fef9dae9494c8b4ba5f677 /graphics | |
parent | d0ccf78111a7a2d94a95b73e5c94f18e1992f119 (diff) | |
download | freebsd-ports-gnome-d0a66286b9250a8e9561e0efacb03443bb52309f.tar.gz freebsd-ports-gnome-d0a66286b9250a8e9561e0efacb03443bb52309f.tar.zst freebsd-ports-gnome-d0a66286b9250a8e9561e0efacb03443bb52309f.zip |
Handle NOPROFILE=yes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gdchart/Makefile | 6 | ||||
-rw-r--r-- | graphics/gdchart/pkg-plist | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile index e717f36bcf6a..55776a120608 100644 --- a/graphics/gdchart/Makefile +++ b/graphics/gdchart/Makefile @@ -25,6 +25,12 @@ MAKE_ARGS= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" DOCS= README EXAMPLES= ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c +.if defined(NOPROFILE) +PLIST_SUB+= PROFILE="@comment " +.else +PLIST_SUB+= PROFILE= +.endif + post-patch: ${REINPLACE_CMD} \ -e 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' \ diff --git a/graphics/gdchart/pkg-plist b/graphics/gdchart/pkg-plist index 9a925c1d07e8..54647670e182 100644 --- a/graphics/gdchart/pkg-plist +++ b/graphics/gdchart/pkg-plist @@ -3,6 +3,7 @@ include/gdchart.h include/gdcpie.h include/gifencode.h lib/libgdc.a +%%PROFILE%%lib/libgdc_p.a %%PORTDOCS%%share/doc/gdchart/README %%PORTDOCS%%@dirrm share/doc/gdchart %%PORTDOCS%%share/examples/gdchart/ft_samp.c |