2012-10-08 15:45:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2012/10/08 13:45:44 asau Exp $
|
2001-04-28 05:10:59 +02:00
|
|
|
#
|
|
|
|
|
2003-09-17 20:40:45 +02:00
|
|
|
DISTNAME= pnm2ppa-1.12
|
2001-04-28 05:10:59 +02:00
|
|
|
CATEGORIES= print converters graphics
|
2002-05-12 12:16:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pnm2ppa/}
|
2001-04-28 05:10:59 +02:00
|
|
|
|
2009-09-02 10:34:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-05-04 09:51:35 +02:00
|
|
|
HOMEPAGE= http://pnm2ppa.sourceforge.net/
|
2003-07-21 19:10:16 +02:00
|
|
|
COMMENT= Filter to convert PNM file to PPA used by some HP DJ printer
|
2001-04-28 05:10:59 +02:00
|
|
|
|
2003-09-17 20:40:45 +02:00
|
|
|
CONF_FILES= ${PREFIX}/share/examples/pnm2ppa/pnm2ppa.conf \
|
2003-01-19 09:45:38 +01:00
|
|
|
${PKG_SYSCONFDIR}/pnm2ppa.conf
|
2001-04-28 05:10:59 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/pnm2ppa
|
|
|
|
|
2003-01-19 09:45:38 +01:00
|
|
|
post-build:
|
|
|
|
for f in \
|
|
|
|
${WRKSRC}/docs/en/CALIBRATION.txt \
|
|
|
|
${WRKSRC}/docs/en/COLOR.txt \
|
|
|
|
${WRKSRC}/docs/en/pnm2ppa.1 ; \
|
|
|
|
do \
|
|
|
|
${CP} $$f $$f.orig ; \
|
|
|
|
${SED} 's|/etc/pnm2ppa|${PKG_SYSCONFDIR}/pnm2ppa|g' \
|
|
|
|
$$f.orig > $$f ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} docs/en/CALIBRATION.txt docs/en/COLOR.txt \
|
2008-06-12 04:14:13 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/pnm2ppa
|
2003-01-19 09:45:38 +01:00
|
|
|
|
2005-11-08 19:04:02 +01:00
|
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
2001-04-28 05:10:59 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|