1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/textproc/sgmls/Makefile
2014-08-22 21:12:28 +00:00

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>