summaryrefslogtreecommitdiff
path: root/graphics/pstoedit/Makefile
blob: 459256b4688e548ce202cfb832ec9eccbf07aa7b (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:	pstodit
# Date created:		03 July 1998
# Whom:			Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	pstoedit
PORTVERSION=	3.21
CATEGORIES=	graphics print
MASTER_SITES=	http://www.geocities.com/SiliconValley/Network/1958/pstoedit/
DISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/}

MAINTAINER=	jseger@FreeBSD.org

RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript-gnu
LIB_DEPENDS=	plot.4:${PORTSDIR}/graphics/plotutils \
		plotter.4:${PORTSDIR}/graphics/plotutils

USE_ZIP=		yes
WRKSRC=		${WRKDIR}/pstoedit_${PORTVERSION}/src
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include -I${X11BASE}/include" \
		CXXFLAGS="${CFLAGS} -I${PREFIX}/include -I${X11BASE}/include" \
		LDLIBS="-L${PREFIX}/lib -L${X11BASE}/lib" \
		LIBS="-L${PREFIX}/lib -L${X11BASE}/lib"
ALL_TARGET=	default

MAN1=	pstoedit.1

post-extract:
	${CP} ${WRKSRC}/../config/* ${WRKSRC}

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${PREFIX}/share/doc/pstoedit
	${INSTALL_DATA} ${WRKSRC}/../*.htm ${PREFIX}/share/doc/pstoedit
.endif

.include <bsd.port.mk>