blob: fae099fea40e954182d9d90bd6bfa39031001f31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.3 2000/03/21 22:40:54 tron Exp $
#
DISTNAME= libwmf-0.1.17
CATEGORIES= graphics devel
MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/libwmf/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.csn.ul.ie/~caolan/docs/libwmf.html
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
DEPENDS+= freetype-*:../../graphics/freetype
DEPENDS+= png>=1.0.6:../../graphics/png
DEPENDS+= xpm-3.4k:../../graphics/xpm
# uses own gd, which has some extra functionality
CONFLICTS+= gd-1.7.3:../../graphics/gd
WRKSRC= ${WRKDIR}/libwmf
USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-png="${LOCALBASE}"
CONFIGURE_ARGS+= --with-ttf="${LOCALBASE}"
CONFIGURE_ARGS+= --with-xpm="${X11BASE}"
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
pre-configure:
cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libwmf
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libwmf/pics
cd ${WRKSRC} && ${INSTALL_DATA} doc/*.html doc/*.gif \
COPYING CREDITS README ${PREFIX}/share/doc/libwmf
${INSTALL_DATA} ${WRKSRC}/doc/pics/weave.jpg \
${PREFIX}/share/doc/libwmf/pics
${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"
|