aboutsummaryrefslogtreecommitdiff
path: root/graphics/sam2p/Makefile
blob: d53c4db9db972c3fc60d24252f51ebf611d17f78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ex:ts=8
# Ports collection makefile for:	sam2p
# Date created:			Jan 7, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	sam2p
PORTVERSION=	0.44
PORTEPOCH=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.inf.bme.hu/~pts/
DISTNAME=	${PORTNAME}-latest

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Converts raster (bitmap) image formats into PS or PDF files

BUILD_DEPENDS=	tif22pnm:${PORTSDIR}/graphics/tif22pnm \
		tifftopnm:${PORTSDIR}/graphics/netpbm \
		zip:${PORTSDIR}/archivers/zip \
		bash:${PORTSDIR}/shells/bash
LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg

USE_GHOSTSCRIPT_RUN=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES=	bin/sam2p
USE_PERL5_BUILD=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
ALL_TARGET=	${PORTNAME}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sam2p ${PREFIX}/bin

.include <bsd.port.mk>