summaryrefslogtreecommitdiffstats
path: root/shells/scsh/Makefile
blob: e5ded79654435b65fbe4a193a7f9eef56bc98054 (plain)
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:    scsh
# Version required:     0.5.1
# Date created:         Jul, 15, 1997
# Whom:                 cracauer@cons.org "Martin Cracauer"
#
# $FreeBSD$
#

DISTNAME=	scsh-0.5.1
CATEGORIES=	shells lang
MASTER_SITES=	ftp://ftp-swiss.ai.mit.edu/pub/su/scsh/ \
		http://www2.cons.org:8000/freebsd-distfiles/ \
		http://people.FreeBSD.org/~cracauer/freebsd-distfiles/

MAINTAINER= 	cracauer@cons.org

.include <bsd.port.pre.mk>

.if ${MACHINE_ARCH} == "alpha"
BROKEN=		bus errors on unaligned accesses in scshvm
.endif

GNU_CONFIGURE=	yes

.if $(PORTOBJFORMAT) == elf
CONFIGURE_ENV+=	LDFLAGS="-Wl,-E"
.endif

ALL_TARGET=	enough
MAN1=		scsh.1
STRIP=

post-install:
	@strip ${PREFIX}/bin/scsh
	(cd ${WRKSRC} ; \
	 ${INSTALL_DATA} README RELEASE NEWS COPYING ${PREFIX}/lib/scsh/doc)
	${RM} -f ${PREFIX}/share/doc/scsh
	${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud