summaryrefslogtreecommitdiffstats
path: root/graphics/epix/Makefile
blob: 476cdd9c42a0b4d992050475e25bfcee8cbf5bba (plain)
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
# ex:ts=8
# Ports collection makefile for:	epix
# Date created:			Sep 5, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	epix
PORTVERSION=	0.8.8a
CATEGORIES=	graphics
MASTER_SITES=	http://mathcs.holycross.edu/~ahwang/software/
DISTNAME=	${PORTNAME}-${PORTVERSION}_src

MAINTAINER=	ports@FreeBSD.org

BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash2
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2 \
		latex:${PORTSDIR}/print/teTeX

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_BZIP2=	yes
USE_REINPLACE=	yes
MAKE_ARGS=	CXX="${CXX}" CFLAGS="${CXXFLAGS} -c" \
		INSTALL_PROGRAM="${INSTALL_DATA}" \
		INSTALL_BIN="${INSTALL_SCRIPT}"
PLIST_SUB=	VERSION="${PORTVERSION}"

MAN1=	epix.1

post-patch:
	@${REINPLACE_CMD} -e \
		's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/newbash.sh
	@${REINPLACE_CMD} -e 's|COPYING ||g' ${WRKSRC}/helpfiles.sh

pre-build:
	@(cd ${WRKSRC} ; ./newbash.sh)

.include <bsd.port.mk>
OpenPOWER on IntegriCloud