summaryrefslogblamecommitdiff
path: root/lang/scsh/Makefile
blob: b4d1595a1a8f1c60883a420aec19ab440c0b5039 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            
                                     

                                                           
           

 
                    
                     
                           
                                                       
 
                                

                                
 

                          



                                                          

                   

                      
      


                                 

                           
                                                                       




                                                                  
 
                           
# New ports collection makefile for:    scsh
# Date created:         Jul, 15, 1997
# Whom:                 cracauer@cons.org "Martin Cracauer"
#
# $FreeBSD$
#

PORTNAME=	scsh
PORTVERSION=	0.6.0
CATEGORIES=	shells lang
MASTER_SITES=	ftp://ftp-swiss.ai.mit.edu/pub/su/scsh/

MAINTAINER=	alex@FreeBSD.org

CONFIGURE_ENV+=	LDFLAGS="-Wl,-E"

.include <bsd.port.pre.mk>

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

GNU_CONFIGURE=	yes

ALL_TARGET=	enough
MAN1=		scsh.1
STRIP=

post-install:
	@strip ${PREFIX}/bin/scsh
.if !defined(NOPORTDOCS)
	@(cd ${WRKSRC} && \
	 ${INSTALL_DATA} README RELEASE COPYING ${PREFIX}/lib/scsh/doc)
	@${RM} -f ${PREFIX}/share/doc/scsh
	@${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
.else
	@${RM} -rf ${PREFIX}/lib/scsh/doc
.endif

.include <bsd.port.post.mk>