2002-07-25 05:00:17 +02:00
|
|
|
# New ports collection makefile for: cups-pstoraster
|
|
|
|
# Date created: Jul 13 2002
|
|
|
|
# Whom: ports@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cups-pstoraster
|
2003-02-12 04:48:19 +01:00
|
|
|
PORTVERSION= 7.05.6
|
|
|
|
PORTREVISION= 0
|
2002-07-25 05:00:17 +02:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
ftp://ftp.easysw.com/pub/ghostscript/
|
|
|
|
MASTER_SITE_SUBDIR= espgs
|
|
|
|
DISTNAME= espgs-${PORTVERSION}-source
|
|
|
|
|
2002-11-01 14:09:32 +01:00
|
|
|
MAINTAINER= alane@FreeBSD.org
|
2002-07-25 05:00:17 +02:00
|
|
|
|
2003-01-22 14:54:55 +01:00
|
|
|
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/ghostscript/fonts/fonts.scale:${PORTSDIR}/print/ghostscript-gnu
|
2002-07-25 05:00:17 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/espgs-${PORTVERSION}
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --without-x --without-ijs --without-gimp-print \
|
|
|
|
--with-drivers=cups --with-gs=espgs \
|
|
|
|
--with-fontpath=${LOCALBASE}/share/ghostscript/fonts \
|
2002-10-15 03:38:29 +02:00
|
|
|
--enable-compiled-inits --without-omni
|
2002-07-25 05:00:17 +02:00
|
|
|
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${MKDIR} ${WRKSRC}/bin
|
|
|
|
${MKDIR} ${WRKSRC}/obj
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/espgs ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pstoraster/pstoraster.convs \
|
|
|
|
${PREFIX}/etc/cups
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pstoraster/pstoraster \
|
|
|
|
${PREFIX}/libexec/cups/filter
|
2003-01-22 14:54:55 +01:00
|
|
|
${CHOWN} -R ${CUPSOWN}:${CUPSGRP} \
|
|
|
|
${PREFIX}/etc/cups ${PREFIX}/libexec/cups/filter
|
2002-07-25 05:00:17 +02:00
|
|
|
|
2003-01-22 14:54:55 +01:00
|
|
|
.include "${.CURDIR}/../../print/cups/Makefile.common"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include <bsd.port.post.mk>
|