mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
0d462002d9
Reviewed by: maintainer
39 lines
990 B
Makefile
39 lines
990 B
Makefile
# Ports collection makefile for: libunp
|
|
# Version required: 1.0
|
|
# Date created: Sept 28, 1999
|
|
# Whom: james@targetnet.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= unpv12e
|
|
PKGNAME= libunp-1.0
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= ftp://ftp.kohala.com/pub/rstevens/ \
|
|
http://www.cs.columbia.edu/networks98/stevens/
|
|
|
|
MAINTAINER= james@targetnet.com
|
|
|
|
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>
|