pkgsrc/graphics/netpbm/Makefile

37 lines
820 B
Makefile
Raw Normal View History

2000-11-11 18:49:22 +01:00
# $NetBSD: Makefile,v 1.47 2000/11/11 17:49:25 tron Exp $
DISTNAME= netpbm-${VERS}
CATEGORIES= graphics
2000-11-11 18:49:22 +01:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
MAINTAINER= tron@netbsd.org
2000-05-17 12:26:36 +02:00
HOMEPAGE= http://netpbm.sourceforge.net/info
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
MAKEFILE= GNUmakefile
VERS= 9.7
PLIST_SUBST+= VERS=${VERS}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == NetBSD && ${MACHINE_ARCH} == arm32
CFLAGS=
.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"