pkgsrc/graphics/netpbm/Makefile

42 lines
985 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.53 2001/03/04 09:06:13 tron Exp $
DISTNAME= netpbm-9.7
CATEGORIES= graphics
2000-11-11 18:49:22 +01:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
MAINTAINER= tron@netbsd.org
2001-01-11 22:05:49 +01:00
HOMEPAGE= http://netpbm.sourceforge.net/
COMMENT= toolkit for conversion of images between different formats
DEPENDS+= tiff>=3.5.4:../../graphics/tiff
DEPENDS+= png>1.0.9:../../graphics/png
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALL_TARGET= install-dev install
2001-01-14 14:17:55 +01:00
MAKE_ENV+= CC=${CC} INSTALL="${INSTALL}"
MAKEFILE= GNUmakefile
.include "../../mk/bsd.prefs.mk"
2001-01-14 14:17:55 +01:00
.if (${OPSYS} == NetBSD) && (${MACHINE_ARCH} == arm32)
CFLAGS=
.endif
2001-01-14 14:17:55 +01:00
.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"