aboutsummaryrefslogtreecommitdiff
path: root/lang/rexx-imc/Makefile
blob: afc3296cdadc952f1e05cbe2df03eb8a8147e804 (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
# New ports collection makefile for:	REXX/imc
# Version required:			1.6d
# Date created:				Septermber 21 96
# Whom:	      				James FitzGibbon <jfitz@FreeBSD.org>
#
#   $Id: Makefile,v 1.1.1.1 1996/09/23 15:50:09 jfitz Exp $
#

DISTNAME=	rexx-imc-1.6d
CATEGORIES=	lang
MASTER_SITES=	http://www.comlab.ox.ac.uk/oucl/users/ian.collier/distribution/

MAINTAINER=	jfitz@FreeBSD.ORG

NO_WRKSUBDIR=	YES

pre-build:
		@ ${CP} ${FILESDIR}/Makefile ${WRKDIR}

do-install:
		@strip ${WRKDIR}/librexx.so.1.6.4 ${WRKDIR}/rxmathfn.rxfn		
		@ for file in rexx rxque rxstack; do \
			${INSTALL_PROGRAM} ${WRKDIR}/$$file ${PREFIX}/bin; \
		done
		@ for file in rxmathfn.rxfn rxmathfn.rxlib; do \
			${INSTALL_DATA} ${WRKDIR}/$$file ${PREFIX}/bin; \
		done
		@ for file in librexx.a librexx.so.1.6.4; do \
			${INSTALL_DATA} ${WRKDIR}/$$file ${PREFIX}/lib; \
		done
.ifndef(NOPORTDOCS)
		@ ${MKDIR} -p ${PREFIX}/share/doc/rexx-imc/
		@ for file in README README.avail README.bugreport README.docs README.files README.make README.news README.versions rexx.info rexx.ref rexx.summary rexx.tech; do \
			${INSTALL_DATA} ${WRKDIR}/$$file ${PREFIX}/share/doc/rexx-imc/; \
		done
.endif		

post-install:
		@ ldconfig -m ${PREFIX}/lib

.include <bsd.port.mk>