1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/textproc/sgmls/Makefile
Ion-Mihai Tetcu 8c293af0bd - use PORTDOCS, DOCSDIR macros
- fix plist for -DNOPORTDOCS
- bump PORTREVISION

Submitted by:	QA Tindy run
2008-06-27 11:53:42 +00:00

43 lines
865 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
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.jclark.com/pub/sgmls/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
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} ${DOCSDIR}
.for file in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>