pkgsrc/print/cups/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2000/03/21 22:40:56 tron Exp $
#
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
DEPENDS+= png>=1.0.6:../../graphics/png
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"