freebsd-ports/graphics/leptonica/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: leptonlib
# Date created: 2009-05-20
# Whom: Hiroto Kagotani <hiroto.kagotani@gmail.com>
#
# $FreeBSD$
#
PORTNAME= leptonlib
PORTVERSION= 1.60
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= C library for efficient image processing and image analysis operations
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
PROJECTHOST= leptonica
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= libtool aclocal automake autoconf
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I${LOCALBASE}/share/aclocal
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${MV} ${WRKSRC}/src/makefile ${WRKSRC}/src/makefile.linux
@${RM} ${WRKSRC}/src/jpeglib.h ${WRKSRC}/src/jmorecfg.h
pre-configure:
@(cd ${CONFIGURE_WRKSRC} \
&& ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake)
run-autotools:: run-autotools-aclocal run-autotools-automake run-autotools-autoconf
.include <bsd.port.mk>