blob: 06f3f168c2544bc26c19a587acd0cac0fab31a21 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: 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
NO_STAGE= yes
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:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@-${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|