blob: 5458b5180cc0c6eb873117befed59b348d87a3ee (
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
|
# ex:ts=8
# Ports collection makefile for: ftplib
# Date created: Feb 11, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= ftplib
PORTVERSION= 3.1.1
CATEGORIES= ftp
MASTER_SITES= http://www.nbpfaus.net/~pfau/ftplib/
MASTER_SITE_SUBDIR= libs
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-src
PATCH_SITES= http://www.nbpfaus.net/~pfau/ftplib/
PATCHFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.patch
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of routines that implement the FTP protocol
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
PATCH_DIST_STRIP= -p3
USE_GMAKE= yes
INSTALLS_SHLIB= yes
PLIST_FILES= lib/libftp.a lib/libftp.so lib/libftp.so.3 \
include/ftplib.h
post-patch:
@${REINPLACE_CMD} -e "s|^CFLAGS =|CFLAGS+=|" \
-e "s|^LDFALGS =|LDFLAGS+=|" ${WRKSRC}/linux/Makefile
do-build:
@(cd ${WRKSRC}/linux && ${GMAKE})
do-install:
@(cd ${WRKSRC}/linux ; \
${INSTALL_DATA} libftp.a libftp.so.3 ${PREFIX}/lib ; \
${LN} -fs ${PREFIX}/lib/libftp.so.3 ${PREFIX}/lib/libftp.so ; \
${INSTALL_DATA} ftplib.h ${PREFIX}/include \
)
.include <bsd.port.mk>
|