blob: 2aa2cb26a26159981e4ec68ce985bc15d87c7bc7 (
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
|
# $NetBSD: Makefile,v 1.51 2001/01/14 13:17:55 tron Exp $
DISTNAME= netpbm-9.7
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://netpbm.sourceforge.net/
DEPENDS+= tiff>=3.5.4:../../graphics/tiff
DEPENDS+= png>=1.0.6:../../graphics/png
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALL_TARGET= install-dev install
MAKE_ENV+= CC=${CC} INSTALL="${INSTALL}"
MAKEFILE= GNUmakefile
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == NetBSD) && (${MACHINE_ARCH} == arm32)
CFLAGS=
.endif
.if (${OPSYS} == SunOS)
MAKE_ENV+= NETWORKLD="-lsocket -lnsl"
.else
MAKE_ENV+= NETWORKLD=""
.endif
post-patch:
${MV} -f ${WRKSRC}/pbmplus.h ${WRKSRC}/pbmplus.h.in
${SED} -e "s;@X11BASE@;${X11BASE};g" ${WRKSRC}/pbmplus.h.in > ${WRKSRC}/pbmplus.h
post-install:
${INSTALL_DATA} ${WRKSRC}/shhopt/shhopt.h ${PREFIX}/include
.include "../../mk/bsd.pkg.mk"
|