53cb43037f
This patch allows the admin of the machine to choose either print/ghostscript-gnu or print/ghostscript-afp1 PR: ports/54935 Submitted by: Jens Rehsack <rehsack@liwing.de>
38 lines
859 B
Makefile
38 lines
859 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: sam2p
|
|
# Date created: Jan 7, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sam2p
|
|
PORTVERSION= 0.42
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.inf.bme.hu/~pts/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Converts raster (bitmap) image formats into PS or PDF files
|
|
|
|
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
|
GSPORT?= print/ghostscript-afpl
|
|
.else
|
|
GSPORT?= print/ghostscript-gnu
|
|
.endif
|
|
|
|
BUILD_DEPENDS= tif22pnm:${PORTSDIR}/graphics/tif22pnm \
|
|
tifftopnm:${PORTSDIR}/graphics/netpbm \
|
|
gs:${PORTSDIR}/${GSPORT} \
|
|
zip:${PORTSDIR}/archivers/zip \
|
|
bash:${PORTSDIR}/shells/bash2
|
|
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_PERL5_BUILD= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= # empty
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sam2p ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|