310bb44327
PPD to /etc/cups/ppd when a printer is added, so now even if the cupsomatic-ppds are uninstalled, your CUPS setup will still work as long as the cupsomatic package is still installed.
38 lines
939 B
Makefile
38 lines
939 B
Makefile
# $NetBSD: Makefile,v 1.3 2000/12/21 15:02:26 jlam Exp $
|
|
|
|
DISTNAME= cupsomatic
|
|
PKGNAME= cupsomatic-1.3
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.linuxprinting.org/
|
|
EXTRACT_SUFX= # empty
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://www.linuxprinting.org/cups-doc.html
|
|
|
|
CONFLICTS+= cupsomatic-200012??
|
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
|
|
|
DEPENDS+= cups>=1.1.1:../../print/cups
|
|
DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
|
|
DEPENDS+= mpage-[0-9]*:../../print/mpage
|
|
|
|
USE_PERL5= # defined
|
|
NO_WRKSUBDIR= # defined
|
|
NO_CONFIGURE= # defined
|
|
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}/cupsomatic
|
|
|
|
FILTERDIR= ${PREFIX}/libexec/cups/filter
|
|
|
|
post-extract:
|
|
cd ${WRKSRC}; ${MV} cupsomatic cupsomatic.in
|
|
|
|
do-build:
|
|
${SED} -e "s,@PERL@,${PERL5},g" \
|
|
-e "s,@LOCALBASE@,${LOCALBASE},g" \
|
|
< ${WRKSRC}/cupsomatic.in > ${WRKSRC}/cupsomatic
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cupsomatic ${FILTERDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|