blob: cc12e37274af745a7da669e6e877649cbd39cbc0 (
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
42
43
44
45
46
47
48
|
# 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= pdseniura@techie.com
COMMENT= Full-screen remote login to IBM VM/CMS
MAN1= tn3270.1 mset.1
MAN5= map3270.5
MANCOMPRESSED= maybe
LIBTELNETDIR?= /usr/src/lib/libtelnet
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
.endif
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.post.mk>
|