2001-03-04 10:06:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.53 2001/03/04 09:06:13 tron Exp $
|
1997-10-15 17:12:12 +02:00
|
|
|
|
2001-01-08 03:13:44 +01:00
|
|
|
DISTNAME= netpbm-9.7
|
1997-10-15 17:12:12 +02:00
|
|
|
CATEGORIES= graphics
|
2000-11-11 18:49:22 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
|
2000-05-17 12:13:19 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
1997-10-15 17:12:12 +02:00
|
|
|
|
2000-05-17 12:13:19 +02:00
|
|
|
MAINTAINER= tron@netbsd.org
|
2001-01-11 22:05:49 +01:00
|
|
|
HOMEPAGE= http://netpbm.sourceforge.net/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= toolkit for conversion of images between different formats
|
1998-01-24 06:25:12 +01:00
|
|
|
|
2000-05-17 12:13:19 +02:00
|
|
|
DEPENDS+= tiff>=3.5.4:../../graphics/tiff
|
2001-03-04 10:06:09 +01:00
|
|
|
DEPENDS+= png>1.0.9:../../graphics/png
|
1997-10-15 17:12:12 +02:00
|
|
|
|
2000-05-17 12:13:19 +02:00
|
|
|
USE_GMAKE= yes
|
2000-06-05 02:36:30 +02:00
|
|
|
USE_LIBTOOL= yes
|
1997-10-15 17:12:12 +02:00
|
|
|
|
2000-06-05 02:36:30 +02:00
|
|
|
INSTALL_TARGET= install-dev install
|
2001-01-14 14:17:55 +01:00
|
|
|
MAKE_ENV+= CC=${CC} INSTALL="${INSTALL}"
|
2000-05-17 12:13:19 +02:00
|
|
|
MAKEFILE= GNUmakefile
|
1998-11-13 00:26:58 +01:00
|
|
|
|
2000-05-20 13:02:07 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-01-14 14:17:55 +01:00
|
|
|
.if (${OPSYS} == NetBSD) && (${MACHINE_ARCH} == arm32)
|
2000-05-20 13:02:07 +02:00
|
|
|
CFLAGS=
|
|
|
|
.endif
|
|
|
|
|
2001-01-14 14:17:55 +01:00
|
|
|
.if (${OPSYS} == SunOS)
|
|
|
|
MAKE_ENV+= NETWORKLD="-lsocket -lnsl"
|
|
|
|
.else
|
|
|
|
MAKE_ENV+= NETWORKLD=""
|
|
|
|
.endif
|
|
|
|
|
2000-06-24 03:48:08 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} -f ${WRKSRC}/pbmplus.h ${WRKSRC}/pbmplus.h.in
|
|
|
|
${SED} -e "s;@X11BASE@;${X11BASE};g" ${WRKSRC}/pbmplus.h.in > ${WRKSRC}/pbmplus.h
|
|
|
|
|
2000-05-17 20:41:21 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/shhopt/shhopt.h ${PREFIX}/include
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|