Lines 17-38
Link Here
|
17 |
MAINTAINER= ports@FreeBSD.org |
17 |
MAINTAINER= ports@FreeBSD.org |
18 |
COMMENT= A PDF generation library |
18 |
COMMENT= A PDF generation library |
19 |
|
19 |
|
20 |
LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41 \ |
20 |
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ |
21 |
jpeg.9:${PORTSDIR}/graphics/jpeg \ |
|
|
22 |
png.5:${PORTSDIR}/graphics/png \ |
21 |
png.5:${PORTSDIR}/graphics/png \ |
23 |
tiff.4:${PORTSDIR}/graphics/tiff |
22 |
tiff.4:${PORTSDIR}/graphics/tiff |
24 |
|
23 |
|
25 |
USE_BZIP2= yes |
24 |
USE_BZIP2= yes |
26 |
USE_GNOME= gnomehack gnometarget lthack pkgconfig |
25 |
USE_GNOME= gnomehack gnometarget pkgconfig |
|
|
26 |
USE_BDB= yes |
27 |
USE_GMAKE= yes |
27 |
USE_GMAKE= yes |
28 |
USE_AUTOTOOLS= libtool:15 |
28 |
USE_AUTOTOOLS= libtool:15 |
29 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
29 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
30 |
CONFIGURE_ARGS= --enable-berkeley-db |
30 |
CONFIGURE_ARGS= --enable-berkeley-db |
31 |
USE_LDCONFIG= yes |
31 |
INSTALLS_SHLIB= yes |
32 |
|
32 |
|
33 |
CPPFLAGS= -I${LOCALBASE}/include/db41 -I${LOCALBASE}/include \ |
33 |
CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
34 |
${PTHREAD_CFLAGS} |
34 |
LDFLAGS= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
35 |
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
|
|
36 |
|
35 |
|
37 |
.include <bsd.port.pre.mk> |
36 |
.include <bsd.port.pre.mk> |
38 |
|
37 |
|