mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
add USE_GCC=2.95 and unbreak this port.
utilize PORTDOCS.
This commit is contained in:
parent
597ef208e9
commit
1fd2e41e3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100373
@ -13,24 +13,29 @@ MASTER_SITES= ftp://ftp.jclark.com/pub/sp/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= An object-oriented toolkit for SGML parsing and entity management
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 501000
|
||||
BROKEN= "Does not compile"
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == sparc64
|
||||
BROKEN= does not compile on ${MACHINE_ARCH}
|
||||
.endif
|
||||
|
||||
USE_SUBMAKE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_GCC= 2.95
|
||||
USE_REINPLACE= yes
|
||||
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
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,=/usr/local,=${PREFIX},g' ${WRKSRC}/Makefile*
|
||||
|
||||
post-install:
|
||||
$(MKDIR) $(PREFIX)/include/sp
|
||||
$(MKDIR) $(PREFIX)/share/doc/sp
|
||||
$(RM) -f $(WRKSRC)/include/*.orig
|
||||
for file in $(WRKSRC)/include/*;do $(INSTALL_DATA) $$file $(PREFIX)/include/sp;done
|
||||
for file in $(WRKSRC)/doc/*;do $(INSTALL_DATA) $$file $(PREFIX)/share/doc/sp;done
|
||||
${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.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -142,26 +142,4 @@ include/sp/xnew.h
|
||||
lib/libsp.a
|
||||
lib/libsp.so.1
|
||||
@comment lib/libsp.so.1.4
|
||||
share/doc/sp/Makefile
|
||||
share/doc/sp/archform.htm
|
||||
share/doc/sp/build.htm
|
||||
share/doc/sp/catalog
|
||||
share/doc/sp/catalog.htm
|
||||
share/doc/sp/charset.htm
|
||||
share/doc/sp/features.htm
|
||||
share/doc/sp/generic.htm
|
||||
share/doc/sp/ideas.htm
|
||||
share/doc/sp/index.htm
|
||||
share/doc/sp/new.htm
|
||||
share/doc/sp/nsgmls.htm
|
||||
share/doc/sp/sgmldecl.htm
|
||||
share/doc/sp/sgmlnorm.htm
|
||||
share/doc/sp/sgmlsout.htm
|
||||
share/doc/sp/spam.htm
|
||||
share/doc/sp/spent.htm
|
||||
share/doc/sp/sx.htm
|
||||
share/doc/sp/sysdecl.htm
|
||||
share/doc/sp/sysid.htm
|
||||
share/doc/sp/xml.htm
|
||||
@dirrm include/sp
|
||||
@dirrm share/doc/sp
|
||||
|
Loading…
Reference in New Issue
Block a user