pkgsrc/graphics/libwmf/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2000/09/10 20:31:33 wiz Exp $
#
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-29 07:43:00 +01:00
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.csn.ul.ie/~caolan/docs/libwmf.html
DEPENDS+= freetype-lib>=1.3.1:../../graphics/freetype-lib
DEPENDS+= png>=1.0.6:../../graphics/png
USE_X11= YES
USE_XPM= YES
GNU_CONFIGURE= YES
EVAL_PREFIX+= XPMDIR=xpm
CONFIGURE_ARGS+= --includedir="${PREFIX}/include/libwmf"
CONFIGURE_ARGS+= --with-png="${LOCALBASE}"
CONFIGURE_ARGS+= --with-ttf="${LOCALBASE}"
CONFIGURE_ARGS+= --with-xpm="${XPMDIR}"
2000-02-29 07:43:00 +01:00
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include # png.h
INCLUDEDIR= ${PREFIX}/include/libwmf
HTMLDIR= ${PREFIX}/share/doc/html/libwmf
WRKSRC= ${WRKDIR}/libwmf
pre-install:
${INSTALL_DATA_DIR} ${INCLUDEDIR}
post-install:
${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
.include "../../mk/bsd.pkg.mk"