2007-07-05 11:57:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2007/07/05 15:57:26 steven Exp $
|
2006-10-03 10:21:42 -04:00
|
|
|
|
|
|
|
COMMENT= "PDF backend for CUPS"
|
|
|
|
|
|
|
|
DISTNAME= cups-pdf-2.4.2
|
2007-07-03 19:37:25 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2006-10-03 10:21:42 -04:00
|
|
|
CATEGORIES= print
|
|
|
|
|
|
|
|
HOMEPAGE= http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}src/
|
|
|
|
DISTFILES= ${DISTNAME:S/pdf-/pdf_/}.tar.gz
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WANTLIB= c
|
|
|
|
|
2007-07-03 19:37:25 -04:00
|
|
|
RUN_DEPENDS= ::print/cups \
|
|
|
|
::print/ghostscript/gnu
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
2006-10-03 10:21:42 -04:00
|
|
|
|
|
|
|
do-build:
|
2007-07-03 19:37:25 -04:00
|
|
|
${CC} ${CFLAGS} -o ${WRKDIR}/bin/cups-pdf ${WRKDIR}/${DISTNAME}/src/cups-pdf.c
|
2006-10-03 10:21:42 -04:00
|
|
|
|
|
|
|
do-install:
|
2007-07-03 19:37:25 -04:00
|
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/cups/backend
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/cups/model
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cups
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/cups-pdf \
|
2006-10-03 10:21:42 -04:00
|
|
|
${PREFIX}/libexec/cups/backend/cups-pdf
|
2007-07-03 19:37:25 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/extra/PostscriptColor.ppd \
|
2006-10-03 10:21:42 -04:00
|
|
|
${PREFIX}/share/cups/model/PostscriptColor.ppd
|
2007-07-03 19:37:25 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/extra/cups-pdf.conf \
|
2006-10-03 10:21:42 -04:00
|
|
|
${PREFIX}/share/examples/cups/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|