2000-09-10 22:31:33 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2000/09/10 20:31:33 wiz Exp $
|
2000-02-27 19:33:38 +01:00
|
|
|
#
|
|
|
|
|
2000-08-06 16:18:32 +02:00
|
|
|
DISTNAME= libwmf-0.1.17
|
|
|
|
PKGNAME= libwmf-0.1.17nb1
|
2000-02-29 07:43:00 +01:00
|
|
|
CATEGORIES= graphics devel
|
|
|
|
MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/libwmf/
|
2000-02-27 19:33:38 +01:00
|
|
|
|
2000-02-29 07:43:00 +01:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.csn.ul.ie/~caolan/docs/libwmf.html
|
2000-02-27 19:33:38 +01:00
|
|
|
|
2000-08-05 00:07:21 +02:00
|
|
|
DEPENDS+= freetype-lib>=1.3.1:../../graphics/freetype-lib
|
2000-03-21 23:40:50 +01:00
|
|
|
DEPENDS+= png>=1.0.6:../../graphics/png
|
2000-07-15 22:39:13 +02:00
|
|
|
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_X11= YES
|
|
|
|
USE_XPM= YES
|
|
|
|
GNU_CONFIGURE= YES
|
2000-07-15 22:39:13 +02:00
|
|
|
EVAL_PREFIX+= XPMDIR=xpm
|
2000-08-05 04:36:37 +02:00
|
|
|
CONFIGURE_ARGS+= --includedir="${PREFIX}/include/libwmf"
|
2000-02-27 19:33:38 +01:00
|
|
|
CONFIGURE_ARGS+= --with-png="${LOCALBASE}"
|
|
|
|
CONFIGURE_ARGS+= --with-ttf="${LOCALBASE}"
|
2000-07-15 22:39:13 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xpm="${XPMDIR}"
|
2000-02-29 07:43:00 +01:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
2000-07-24 19:13:29 +02:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include # png.h
|
2000-08-05 04:36:37 +02:00
|
|
|
INCLUDEDIR= ${PREFIX}/include/libwmf
|
|
|
|
HTMLDIR= ${PREFIX}/share/doc/html/libwmf
|
2000-08-24 01:14:21 +02:00
|
|
|
WRKSRC= ${WRKDIR}/libwmf
|
2000-02-27 19:33:38 +01:00
|
|
|
|
2000-08-05 04:36:37 +02:00
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA_DIR} ${INCLUDEDIR}
|
2000-02-27 19:33:38 +01:00
|
|
|
|
|
|
|
post-install:
|
2000-08-05 04:36:37 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/myxpm.h ${INCLUDEDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}/pics
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} doc/*.html doc/*.gif \
|
|
|
|
COPYING CREDITS README ${HTMLDIR}
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} doc/pics/weave.jpg \
|
|
|
|
${HTMLDIR}/pics
|
2000-02-27 19:33:38 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|