opnsense-ports/graphics/gdchart/files/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

25 lines
424 B
Makefile

# $FreeBSD$
LIB= gdc
CFLAGS+= -I${LOCALBASE}/include
LDADD= -L${LOCALBASE}/lib \
-lgd \
-ljpeg \
-lfreetype
SRCS= array_alloc.c \
gdc.c \
gdc_pie.c \
gdchart.c \
price_conv.c
INCS= gdc.h \
gdchart.h \
gdcpie.h
NO_MAN= YES
PREFIX?= /usr/local
LOCALBASE?= /usr/local
LIBDIR= ${PREFIX}/lib
INCSDIR= ${PREFIX}/include
INCDIR= ${INCSDIR} # for pre-bsd.incs.mk API
SHLIB_MAJOR= 1
.include <bsd.lib.mk>