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

PORTNAME=	transfig
PORTVERSION=	3.2.5
PORTREVISION=	2
CATEGORIES=	print
MASTER_SITES=	http://xfig.org/software/xfig/${PORTVERSION}/ \
		ftp://www-epb.lbl.gov/xfig/
DISTNAME=	${PORTNAME}.${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tools to convert Xfig's .fig files

RUN_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png

USE_GHOSTSCRIPT_RUN=	yes
USE_IMAKE=	yes
USE_XORG=	xpm
MAN1=		fig2dev.1 fig2ps2tex.1 pic2tpic.1 transfig.1

MAKE_ARGS+=	INSTALLFLAGS="${COPY}" \
		INSTPGMFLAGS="${STRIP} ${_BINOWNGRP} -m ${BINMODE}" \
		INSTBINFLAGS="${_BINOWNGRP} -m ${BINMODE}" \
		INSTDATFLAGS="${_SHROWNGRP} -m ${SHAREMODE}" \
		INSTMANFLAGS="${_MANOWNGRP} -m ${MANMODE}"

.include <bsd.port.mk>