aboutsummaryrefslogtreecommitdiffstats
path: root/print/transfig/Makefile
blob: 6880715fde3cf51f3a480705c62e855b0af841df (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
# New ports collection makefile for:    transfig
# Date created:     9 August 1996
# Whom:         chuckr@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   transfig
PORTVERSION=    3.2.3
CATEGORIES= print
MASTER_SITES=   ${MASTER_SITE_XCONTRIB} \
        ftp://www-epb.lbl.gov/xfig/
MASTER_SITE_SUBDIR= applications/drawing_tools/transfig
DISTNAME=   ${PORTNAME}.${PORTVERSION}

MAINTAINER= chuckr@freebsd.org

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS=    ppmtogif:${PORTSDIR}/graphics/netpbm

USE_IMAKE=  yes
USE_XPM=    yes
MAN1=       fig2dev.1 fig2ps2tex.1 pic2tpic.1 transfig.1

post-patch:
    @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/fig2dev/Imakefile

.include <bsd.port.mk>