pkgsrc/graphics/netpbm/Makefile
adam 20150fe025 Changes 10.26.9:
* libnetpbm: fix crash with -builtin=fixed
* pbmtoppa: fix floating point exception
Changes 10.26.8:
* pnmgamma: Correct math in -srgbramp
* ppmshadow: fix blurring
Pkgsrc:
* fixed problem on DragonFly (courtesy of Joerg Sonnenberger)
2005-05-24 07:53:54 +00:00

55 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.111 2005/05/24 07:53:54 adam Exp $
DISTNAME= netpbm-10.26.9
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://netpbm.sourceforge.net/
COMMENT= Toolkit for conversion of images between different formats
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake lex
USE_PERL5= yes
INSTALL_TARGET= install-dev install-run
MAKE_ENV+= INSTALL="${INSTALL}" STRIPFLAG="${_STRIPFLAG_INSTALL}" \
pkgdir="${STAGEDIR}"
MAKEFILE= GNUmakefile
PLIST_SRC= ${WRKDIR}/PLIST_STAGE
REPLACE_PERL= editor/ppmfade editor/ppmshadow editor/pnmquant \
generator/ppmrainbow manweb editor/pnmflip
STAGEDIR= ${WRKDIR}/staging
LIBS.SunOS= -lsocket -lnsl
MAKE_ENV+= NETWORKLD="${LIBS}"
pre-configure:
${CP} ${WRKSRC}/Makefile.config.in ${WRKSRC}/Makefile.config
pre-install:
${RM} -fr ${STAGEDIR}
post-install:
cd ${STAGEDIR} && \
${MV} link/* lib && \
${RM} -rf link man/web && \
${MKDIR} share/doc/netpbm && \
${CP} ${WRKSRC}/doc/* share/doc/netpbm && \
${MV} share/doc/netpbm/*.1 man/man1 && \
${MV} misc share/netpbm && \
${CHOWN} -R ${BINOWN}:${BINGRP} . && \
${FIND} * \! -type d -print | ${SORT} >${PLIST_SRC} && \
${FIND} * -type d -print | \
while read DIR; do \
${TEST} -d "${PREFIX}/$${DIR}" || \
${ECHO} "@dirrm $${DIR}"; \
done >>${PLIST_SRC} && \
${PAX} -rwpppm . ${PREFIX}
${RM} -fr ${STAGEDIR}
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"