1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/print/cups-base/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: cups-base
# Date created: 29 November 2001
# Whom: James Halstead <jah4007@cs.rit.edu>
#
# $FreeBSD$
#
PORTNAME= cups-base
PORTVERSION= ${VERSION}
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= ftp://ftp.easysw.com/pub/cups/${VERSION}/ \
ftp://ftp2.easysw.com/pub/cups/${VERSION}/ \
ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${VERSION}/ \
ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${VERSION}/
DISTNAME= cups-${VERSION}-source
MAINTAINER= jah4007@cs.rit.edu
VERSION= 1.1.12
USE_BZIP2= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/cups-${VERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=/var
MAN1= backend.1 filter.1
MAN3= cups-config.3
MAN5= classes.conf.5 cupsd.conf.5 mime.convs.5 mime.types.5 \
printers.conf.5
MAN8= cups-lpd.8 cups-polld.8 cupsd.8
post-install:
@${INSTALL_DATA} ${WRKSRC}/conf/classes.conf \
${PREFIX}/etc/cups/classes.conf.sample
@${INSTALL_DATA} ${WRKSRC}/conf/client.conf \
${PREFIX}/etc/cups/client.conf.sample
@${INSTALL_DATA} ${WRKSRC}/conf/cupsd.conf \
${PREFIX}/etc/cups/cupsd.conf.sample
@${INSTALL_DATA} ${WRKSRC}/conf/printers.conf \
${PREFIX}/etc/cups/printers.conf.sample
@${INSTALL_SCRIPT} -m 751 ${WRKSRC}/cups.sh \
${PREFIX}/etc/rc.d/cupsd.sh.sample
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
.include <bsd.port.mk>