f585a48b46
- Use native installer - Install documentation - Remove unneeded USE_REINPLACE - Bump PORTREVISION PR: 52909 Approved by: krion (implicit)
36 lines
947 B
Makefile
36 lines
947 B
Makefile
# New ports collection makefile for: twoftpd
|
|
# Date created: 14 September 2001
|
|
# Whom: Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= twoftpd
|
|
PORTVERSION= 1.17
|
|
PORTREVISION= 2
|
|
CATEGORIES= ftp
|
|
MASTER_SITES= http://untroubled.org/twoftpd/
|
|
|
|
MAINTAINER= gslin@ccca.nctu.edu.tw
|
|
COMMENT= A simple, secure, efficient FTP server
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs
|
|
|
|
DOCS= NEWS README TODO
|
|
MAN1= twoftpd-auth.1 twoftpd-xfer.1
|
|
|
|
do-configure:
|
|
${ECHO_CMD} "${LOCALBASE}/include/bglibs" > ${WRKSRC}/conf-bgincs
|
|
${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/conf-bglibs
|
|
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
|
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ./installer
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|