aboutsummaryrefslogtreecommitdiff
path: root/graphics/libwmf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libwmf/Makefile')
-rw-r--r--graphics/libwmf/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index d91efd9d92d8..1a2b3ec46bfb 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -6,18 +6,22 @@
#
PORTNAME= libwmf
-PORTVERSION= 0.1.16
+PORTVERSION= 0.1.17
CATEGORIES= graphics
MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/libwmf/
MAINTAINER= cpiazza@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
+ png.3:${PORTSDIR}/graphics/png \
ttf.4:${PORTSDIR}/print/freetype
-WRKSRC= ${WRKDIR}/libwmf
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_XLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-ttf=${LOCALBASE}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype \
+ -I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}"/lib
.include <bsd.port.mk>