aboutsummaryrefslogtreecommitdiffstats
path: root/lang/sr/Makefile
blob: fbe3c2b133fa41b773a730c6b93ad8cfcdcf0e33 (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
# New ports collection makefile for:    sr
# Version required:     2.3.1
# Date created:         2 Jun 1997
# Whom:             Ruslan Shevchenko <rssh@satori.ipri.kiev.ua>
#
# $Id: Makefile,v 1.3 1997/06/29 09:29:03 obrien Exp $
#

DISTNAME=   sr
PKGNAME=    sr-2.3.1
CATEGORIES= lang
MASTER_SITES=   ftp://ftp.cs.arizona.edu/sr/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= rssh@cki.ipri.kiev.ua

BROKEN_ELF= yes

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= prefix
NO_WRKSUBDIR=   yes
MAN1 =      sr.1 srl.1 srm.1 srprof.1 srtex.1 srlatex.1 srgrind.1 \
        ccr2sr.1 m2sr.1 csp2sr.1
MAN3 =      sranimator.3 srgetopt.3 srwin.3
MAN5 =      srmap.5 srtrace.5 

pre-install:
    @${MKDIR} ${PREFIX}/lib/sr

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/sr/notes
    ${MKDIR} ${PREFIX}/share/doc/sr/ps
    ${INSTALL_DATA} ${WRKSRC}/notes/* ${PREFIX}/share/doc/sr/notes
    ${INSTALL_DATA} ${WRKSRC}/ps/* ${PREFIX}/share/doc/sr/ps
    ${MKDIR} ${PREFIX}/share/examples/sr
    ${CP} -pR ${WRKSRC}/examples/* ${PREFIX}/share/examples/sr
.endif

.include<bsd.port.mk>