blob: be724fd5ea94569f5a40ac6df98d26ba51136afc (
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
|
# Ports collection makefile for: libunp
# Date created: Sept 28, 1999
# Whom: james@targetnet.com
#
# $FreeBSD$
#
PORTNAME= libunp
PORTVERSION= 1.0
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.kohala.com/pub/rstevens/ \
http://www.cs.columbia.edu/networks98/stevens/
DISTNAME= unpv12e
MAINTAINER= james@targetnet.com
COMMENT= The networking library used in UNIX Network Programming Volume 1 2e
GNU_CONFIGURE= yes
USE_GMAKE= yes
.include <bsd.port.pre.mk>
pre-patch:
@ ${CP} ${WRKSRC}/lib/wrapsock.c ${WRKSRC}/lib/wrapsock_r.c
post-configure:
@ ${MKDIR} ${WRKSRC}/unp
@ ${LN} -s ${WRKSRC}/config.h ${WRKSRC}/unp/config.h
@ ${LN} -s ${WRKSRC}/lib/addrinfo.h ${WRKSRC}/unp/addrinfo.h
do-install:
${INSTALL_DATA} ${WRKSRC}/libunp.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libunp_r.a ${PREFIX}/lib
${MKDIR} ${PREFIX}/include/unp
${INSTALL_DATA} ${WRKSRC}/lib/unp.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/lib/addrinfo.h ${PREFIX}/include/unp
${INSTALL_DATA} ${WRKSRC}/config.h ${PREFIX}/include/unp
.include <bsd.port.post.mk>
|