mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
d289f92dd8
Approved by: knu (maintainer)
28 lines
455 B
Makefile
28 lines
455 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 \
|
|
gifencode.c \
|
|
price_conv.c
|
|
INCS= gdc.h \
|
|
gdchart.h \
|
|
gdcpie.h \
|
|
gifencode.h
|
|
NOMAN= 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>
|