mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
38 lines
751 B
Makefile
38 lines
751 B
Makefile
# Created by: Eugene Furs <justas@mbank.lv>
|
|
|
|
PORTNAME= sgmls
|
|
PORTVERSION= 1.1.91
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/sgmls/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= SGML parser
|
|
|
|
USES= tar:Z
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
HAS_CONFIGURE= yes
|
|
INSTALL_TARGET= install install.man
|
|
TEST_TARGET= test
|
|
|
|
PROGS= sgmls sgmlsasp rast
|
|
PORTDOCS= ChangeLog LICENSE NEWS README TODO
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
|
|
|
|
post-build:
|
|
.for file in ${PROGS}
|
|
@${STRIP_CMD} ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|