1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/tn3270/Makefile
Akinori MUSHA 897d06aa97 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
2002-01-29 11:48:57 +00:00

42 lines
904 B
Makefile

# New ports collection makefile for: tn3270
# Date created: 30 August 1999
# Whom: markm
#
# $FreeBSD$
#
PORTNAME= tn3270
PORTVERSION= 4.4
CATEGORIES= net
MASTER_SITES= http://people.freebsd.org/~markm/ \
ftp://ftp.za.freebsd.org/pub/FreeBSD/distfiles/ \
ftp://ftp3.za.freebsd.org/pub/FreeBSD/distfiles/
DISTNAME= tn3270
MAINTAINER= markm@FreeBSD.ORG
MAN1= tn3270.1 mset.1
MAN5= map3270.5
MANCOMPRESSED= maybe
LIBTELNETDIR?= /usr/src/lib/libtelnet
post-extract:
@if [ ! -d ${LIBTELNETDIR} ]; then \
${ECHO} "You need libtelnet sources in"; \
${ECHO} "${LIBTELNETDIR}"; \
${ECHO} "to build this port."; \
exit 1; \
fi
${CP} -rp ${LIBTELNETDIR} ${WRKSRC}
do-configure:
${ECHO_CMD} "BINDIR= ${PREFIX}/bin" > ${WRKDIR}/Makefile.inc
${ECHO_CMD} "MANDIR= ${PREFIX}/man/man" >> ${WRKDIR}/Makefile.inc
do-build:
cd ${WRKSRC}; \
${MAKE} depend; \
${MAKE} all
.include <bsd.port.mk>