mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
39 lines
774 B
Makefile
39 lines
774 B
Makefile
# Created by: Eugene Furs <justas@mbank.lv>
|
|
# $FreeBSD$
|
|
|
|
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
|
|
|
|
PROGS= sgmls sgmlsasp rast
|
|
PORTDOCS= ChangeLog INSTALL 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
|
|
cd ${WRKSRC} && ${MAKE} test
|
|
|
|
post-install:
|
|
@-${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|