2001-09-16 18:18:47 +02:00
|
|
|
# New ports collection makefile for: twoftpd
|
|
|
|
# Date created: 14 September 2001
|
|
|
|
# Whom: Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= twoftpd
|
2003-04-13 12:31:09 +02:00
|
|
|
PORTVERSION= 1.17
|
2003-10-24 13:10:25 +02:00
|
|
|
PORTREVISION= 2
|
2001-09-16 18:18:47 +02:00
|
|
|
CATEGORIES= ftp
|
2003-12-24 14:57:06 +01:00
|
|
|
MASTER_SITES= http://untroubled.org/${PORTNAME}/
|
2001-09-16 18:18:47 +02:00
|
|
|
|
2004-05-22 22:00:06 +02:00
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= A simple, secure, efficient FTP server
|
2001-09-16 18:18:47 +02:00
|
|
|
|
2003-12-24 14:57:06 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs \
|
|
|
|
${LOCALBASE}/lib/libcvm-client.a:${PORTSDIR}/security/cvm
|
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS?= -s
|
2003-04-13 12:31:09 +02:00
|
|
|
|
2003-10-24 13:10:25 +02:00
|
|
|
DOCS= NEWS README TODO
|
2002-05-21 05:33:11 +02:00
|
|
|
MAN1= twoftpd-auth.1 twoftpd-xfer.1
|
|
|
|
|
2003-06-15 20:38:30 +02:00
|
|
|
do-configure:
|
2003-12-24 14:57:06 +01:00
|
|
|
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
|
|
|
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
|
|
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
|
|
|
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
|
2003-10-24 13:10:25 +02:00
|
|
|
${ECHO_CMD} "${LOCALBASE}/include/bglibs" > ${WRKSRC}/conf-bgincs
|
2003-12-24 14:57:06 +01:00
|
|
|
${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/conf-bglibs
|
2001-09-16 18:18:47 +02:00
|
|
|
|
|
|
|
do-install:
|
2003-10-24 13:10:25 +02:00
|
|
|
cd ${WRKSRC} && ./installer
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
2001-09-16 18:18:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|