freebsd-ports/textproc/sgmls/Makefile
Sergey A. Osokin f37f7775e3 Make portlint(1) happy by changing strip to ${STRIP_CMD}
Submitted by:	Oleg Karachevtsev <ok@etrust.ru>
PR:		56998
2003-09-24 09:37:11 +00:00

42 lines
889 B
Makefile

# New ports collection makefile for: sgmls
# Date created: Jun 2, 2000
# Whom: Eugene Furs <justas@mbank.lv>
#
# $FreeBSD$
#
PORTNAME= sgmls
PORTVERSION= 1.1.91
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.jclark.com/pub/sgmls/
EXTRACT_SUFX= .tar.Z
MAINTAINER= justas@mbank.lv
COMMENT= SGML parser
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
INSTALL_TARGET= install install.man
MAN1= sgmls.1 sgmlsasp.1 rast.1
PROGS= sgmls sgmlsasp rast
DOCS= ChangeLog INSTALL LICENSE NEWS README TODO
post-build:
.for file in ${PROGS}
@${STRIP_CMD} ${WRKSRC}/${file}
.endfor
@cd ${WRKSRC} && ${MAKE} test
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@-${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
.for file in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/${PORTNAME}
.endfor
.endif
.include <bsd.port.mk>