aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sam2p/Makefile
blob: 601b2977b20e35256999208acd89f23af83cb038 (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
40
41
42
43
44
45
46
47
48
49
# ex:ts=8
# Ports collection makefile for:    sam2p
# Date created:         Jan 7, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   sam2p
PORTVERSION=    0.48
PORTEPOCH=  1
CATEGORIES= graphics
MASTER_SITES=   GOOGLE_CODE

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

RUN_DEPENDS=    zip:${PORTSDIR}/archivers/zip \
        cjpeg:${PORTSDIR}/graphics/jpeg \
        tif22pnm:${PORTSDIR}/graphics/tif22pnm

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_PERL5_BUILD=    yes
USE_GHOSTSCRIPT_RUN=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  ac_cv_path_pts_bash="${SH}"
MAKE_ARGS=  CXXX="${CXX}" LDALL="${CXX}" CXXFLAGSB="${CXXFLAGS}"
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_SAFE= yes

PORTDOCS=   *
PORTEXAMPLES=   *
PLIST_FILES=    bin/${PORTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>