[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / foo2zjs

File: [cvs.NetBSD.org] / pkgsrc / print / foo2zjs / Makefile (download)

Revision 1.2, Mon Oct 8 13:45:38 2012 UTC (5 years, 1 month ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.1: +1 -3 lines

Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.2 2012/10/08 13:45:38 asau Exp $
#

DISTNAME=	foo2zjs
PKGNAME=	${DISTNAME}-20120516
CATEGORIES=	print
MASTER_SITES=	http://foo2zjs.rkkda.com/

MAINTAINER=	imil@NetBSD.org
HOMEPAGE=	http://foo2zjs.rkkda.com/
COMMENT=	Printer driver for Zenographics ZjStream wire protocol
LICENSE=	gnu-gpl-v2

USE_TOOLS+=	gmake

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
INSTALLATION_DIRS+=	share/foo2zjs share/foomatic/ppd/foo2zjs

DEPENDS+=	foomatic-filters-cups>=3.0:../../print/foomatic-filters-cups

SUBST_CLASSES+=		paths
SUBST_MESSAGE.paths=	Fix PREFIX.
SUBST_FILES.paths=	Makefile icc2ps/Makefile
SUBST_SED.paths=	-e "s,@PREFIX@,${DESTDIR}${PREFIX},"
SUBST_SED.paths+=	-e "s,@PKGMANDIR@,${DESTDIR}${PREFIX}/${PKGMANDIR},"
SUBST_STAGE.paths=	post-patch

do-build:
	cd ${WRKSRC} && ${GMAKE} ${PROGS}

do-install:
	cd ${WRKSRC} && ${GMAKE} install-prog install-man
	# cheaper than upstream's "portable" Makefile
	${INSTALL_DATA} ${WRKSRC}/PPD/*.ppd	\
		${DESTDIR}${PREFIX}/share/foomatic/ppd/foo2zjs

.include "../../mk/bsd.pkg.mk"