39 lines
976 B
Makefile
39 lines
976 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2006/10/03 14:21:42 mbalmer Exp $
|
||
|
|
||
|
COMMENT= "PDF backend for CUPS"
|
||
|
|
||
|
DISTNAME= cups-pdf-2.4.2
|
||
|
CATEGORIES= print
|
||
|
|
||
|
HOMEPAGE= http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/
|
||
|
MASTER_SITES= ${HOMEPAGE}src/
|
||
|
DISTFILES= ${DISTNAME:S/pdf-/pdf_/}.tar.gz
|
||
|
|
||
|
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
|
||
|
|
||
|
# GPL
|
||
|
PERMIT_PACKAGE_CDROM= Yes
|
||
|
PERMIT_PACKAGE_FTP= Yes
|
||
|
PERMIT_DISTFILES_CDROM= Yes
|
||
|
PERMIT_DISTFILES_FTP= Yes
|
||
|
|
||
|
WANTLIB= c
|
||
|
|
||
|
RUN_DEPENDS= ::print/cups
|
||
|
|
||
|
do-build:
|
||
|
@cc -O2 -o ${WRKDIR}/bin/cups-pdf ${WRKDIR}/${DISTNAME}/src/cups-pdf.c
|
||
|
|
||
|
do-install:
|
||
|
mkdir -p ${PREFIX}/libexec/cups/backend
|
||
|
mkdir -p ${PREFIX}/share/cups/model
|
||
|
mkdir -p ${PREFIX}/share/examples/cups
|
||
|
cp ${WRKDIR}/bin/cups-pdf \
|
||
|
${PREFIX}/libexec/cups/backend/cups-pdf
|
||
|
cp ${WRKDIR}/${PKGNAME}/extra/PostscriptColor.ppd \
|
||
|
${PREFIX}/share/cups/model/PostscriptColor.ppd
|
||
|
cp ${WRKDIR}/${PKGNAME}/extra/cups-pdf.conf \
|
||
|
${PREFIX}/share/examples/cups/
|
||
|
|
||
|
.include <bsd.port.mk>
|