aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sp/Makefile
blob: d5e4d8e01078b6fb67cd433c08f0020be517503e (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
41
42
43
44
45
46
# New ports collection makefile for:    sp
# Date created:     April 26, 1997
# Whom:         jfieber
#
# $FreeBSD$
#

PORTNAME=   sp
PORTVERSION=    1.3.4
CATEGORIES= textproc
MASTER_SITES=   ftp://ftp.jclark.com/pub/sp/ \
        http://dist.bsdlab.org/

MAINTAINER= ports@FreeBSD.org
COMMENT=    An object-oriented toolkit for SGML parsing and entity management

CONFLICTS=  jade-1.*

.if ${MACHINE_ARCH} == sparc64
BROKEN=     "does not compile on ${MACHINE_ARCH}"
.endif

USE_SUBMAKE=    yes
USE_LDCONFIG=   yes
USE_GCC=    2.95
PORTDOCS=   Makefile archform.htm build.htm catalog catalog.htm \
        charset.htm features.htm generic.htm ideas.htm index.htm \
        new.htm nsgmls.htm sgmldecl.htm sgmlnorm.htm sgmlsout.htm \
        spam.htm spent.htm sx.htm sysdecl.htm sysid.htm xml.htm

DEPRECATED= unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
EXPIRATION_DATE=2009-04-28

post-patch:
    ${REINPLACE_CMD} -e 's,=/usr/local,=${PREFIX},g' ${WRKSRC}/Makefile*

post-install:
    ${MKDIR} ${PREFIX}/include/sp
    ${RM} -f ${WRKSRC}/include/*.orig
    for f in ${WRKSRC}/include/*;do ${INSTALL_DATA} $$f ${PREFIX}/include/sp;done
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>