Skip to content

Commit

Permalink
graphics/gdchart: Fix build on 14
Browse files Browse the repository at this point in the history
- Pet portclippy
- Adopt port
  • Loading branch information
5u623l20 committed Jun 7, 2023
1 parent bab3d63 commit 21b9bb4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions graphics/gdchart/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,28 @@ MASTER_SITES= http://www.fred.net/brv/chart/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
DISTNAME= ${PORTNAME}${PORTVERSION}dev

MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= Easy to use fast C API for creating charts and graphs
WWW= http://www.fred.net/brv/chart/

LIB_DEPENDS= libgd.so:graphics/gd \
libfreetype.so:print/freetype2

USES= jpeg uidfix
MAKEFILE= ${FILESDIR}/Makefile
MAKE_ARGS= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}"
USE_LDCONFIG= yes

PORTDOCS= README.txt
PORTEXAMPLES= ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c
MAKEFILE= ${FILESDIR}/Makefile
MAKE_ARGS= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}"

.if defined(NO_PROFILE)
.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
.endif

PORTDOCS= README.txt
PORTEXAMPLES= ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c

OPTIONS_DEFINE= DOCS EXAMPLES

post-patch:
Expand Down

0 comments on commit 21b9bb4

Please sign in to comment.