PORTNAME= sgmls PORTVERSION= 1.1.91 PORTREVISION= 3 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 MAKE_ARGS= MANDIR=${PREFIX}/share/man/man1 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