summaryrefslogtreecommitdiffstats
path: root/textproc/openjade/Makefile
blob: f608fc1b3ce77ab9fdbebd2e6d97ee8de874237c (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
# New ports collection makefile for:	jade
# Version required:	1.2
# Date created:		June 19, 1997
# Whom:			jfieber
#
# $FreeBSD$
#

DISTNAME=	jade-1.2.1
CATEGORIES=	textproc
MASTER_SITES=	ftp://ftp.jclark.com/pub/jade/

PATCH_SITES=	http://ftp.debian.org/debian/dists/unstable/main/source/text/
PATCHFILES=	jade_1.2.1-13.diff.gz

MAINTAINER=	jfieber@FreeBSD.org

.if ${MACHINE_ARCH} == "alpha"
BROKEN=		nsgmls coredumps in static constructors
.endif

PATCH_DIST_STRIP?=	-p1
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CXXFLAGS="${CFLAGS}"

post-install:
.for i in jade nsgmls sgmlnorm spam spent sx
	strip ${PREFIX}/bin/$i
.endfor
	${MKDIR} ${PREFIX}/include/sp
	${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/sp
	${MKDIR} ${PREFIX}/share/doc/jade
	${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${PREFIX}/share/doc/jade
	${MKDIR} ${PREFIX}/share/sgml/jade
	${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/jade
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m $(PREFIX)/lib

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