aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sam2p/Makefile
blob: f9059e2421d07de9b857cbfc65c56d80625bf0a5 (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
39
# ex:ts=8
# Ports collection makefile for:    sam2p
# Date created:         Jan 7, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   sam2p
PORTVERSION=    0.45
PORTREVISION=   1
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
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_UNSAFE=   yes

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

.include <bsd.port.mk>