63fc151cb9
to ${X11BASE} in the header and library search paths into references to ${LOCALBASE}/share/x11-links. These packages should now be strongly- buildlinked regardless of whether xpkgwedge is installed. Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2001/08/29 22:41:19 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= libwmf-0.1.21
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/}
|
|
|
|
MAINTAINER= kei@netbsd.org
|
|
HOMEPAGE= http://www.wvware.com/libwmf.html
|
|
COMMENT= library for reading and converting WMF (Windows Meta Files)
|
|
|
|
USE_BUILDLINK_ONLY= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --includedir="${PREFIX}/include/libwmf"
|
|
|
|
INCLUDEDIR= ${PREFIX}/include/libwmf
|
|
HTMLDIR= ${PREFIX}/share/doc/html/libwmf
|
|
WRKSRC= ${WRKDIR}/libwmf
|
|
|
|
post-extract:
|
|
${CHMOD} a-x ${WRKSRC}/doc/*.html
|
|
|
|
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 "../../graphics/freetype-lib/buildlink.mk"
|
|
.include "../../graphics/png/buildlink.mk"
|
|
.include "../../graphics/xpm/buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|