3b71761006
minor one (addition of LDFLAGS to CONFIGURE_ENV).
37 lines
880 B
Makefile
37 lines
880 B
Makefile
# New ports collection makefile for: scsh
|
|
# Version required: 0.5.1
|
|
# Date created: Jul, 15, 1997
|
|
# Whom: cracauer@cons.org "Martin Cracauer"
|
|
#
|
|
# $Id: Makefile,v 1.6 1998/12/02 23:50:37 cracauer Exp $
|
|
#
|
|
|
|
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://www.freebsd.org/~cracauer/freebsd-distfiles/
|
|
|
|
MAINTAINER= cracauer@cons.org
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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>
|