aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/xforms/Makefile
blob: 1e27ae2e6e8b74b6dd6139546c49cd8ea3b49488 (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
# New ports collection makefile for:	xforms
# Date created:		28 March 1997
# Whom:			gena
#
# $FreeBSD$
#

PORTNAME=	xforms
PORTVERSION=	1.0
PORTREVISION=	3
PORTEPOCH=	1
CATEGORIES=	x11-toolkits graphics
MASTER_SITES=	ftp://ncmir.ucsd.edu/pub/xforms/OpenSource/
DISTNAME=	${PORTNAME}-${PORTVERSION}-release
EXTRACT_SUFX=	.tgz
USE_REINPLACE=	yes
REINPLACE_ARGS=	-i ""

MAINTAINER=	mikeh@FreeBSD.ORG

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		tiff.4:${PORTSDIR}/graphics/tiff

USE_XPM=	yes
USE_IMAKE=	yes
INSTALLS_SHLIB=	yes
NO_FILTER_SHLIBS=	yes

MAN1=		fdesign.1 fd2ps.1

post-patch:
	${REINPLACE_CMD} -e 's|-O4|${CFLAGS}|' ${WRKSRC}/Imakefile
.if defined(X11BASE)
.	if ${X11BASE} != "/usr/X11R6"
	${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
		${WRKSRC}/image/rgb_db.c
.	endif
.endif

.include <bsd.port.mk>