2000-03-21 23:40:50 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2000/03/21 22:40:56 tron Exp $
|
1999-11-29 03:18:53 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= cups-1.0.2-source
|
|
|
|
PKGNAME= ${DISTNAME:S/-source//}
|
|
|
|
VERS= ${PKGNAME:S/cups-//}
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ftp://ftp.easysw.com/pub/cups/${VERS}/ \
|
|
|
|
ftp://ftp2.easysw.com/pub/cups/${VERS}/ \
|
|
|
|
ftp://ftp.northamerica.net/pub/ESP/cups/${VERS}/ \
|
|
|
|
ftp://ftp.funet.fi/mirrors/ftp.easysw.com/pub/cups/${VERS}/ \
|
|
|
|
ftp://ftp.fisek.com.tr/pub/cups/${VERS}/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
|
|
HOMEPAGE= http://www.cups.org/
|
|
|
|
|
|
|
|
DEPENDS+= jpeg-6b:../../graphics/jpeg
|
2000-03-21 23:40:50 +01:00
|
|
|
DEPENDS+= png>=1.0.6:../../graphics/png
|
1999-11-29 03:18:53 +01:00
|
|
|
DEPENDS+= tiff-*:../../graphics/tiff
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for DIR in interfaces logs ppd requests
|
|
|
|
${TOUCH} /var/cups/${DIR}/.directory
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cups
|
|
|
|
cd ${WRKSRC}/conf; ${INSTALL_DATA} classes.conf cupsd.conf \
|
|
|
|
cupsd.conf-personal cupsd.conf-professional mime.convs \
|
|
|
|
mime.types printcap printers.conf \
|
|
|
|
${PREFIX}/share/examples/cups
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|