aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/oftpd/Makefile
blob: 44e14d2d8c6dbbe3fe45df65a828cf59cd0840ca (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:  oftpd
# Date created:           31 March 2001
# Whom:               Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   oftpd
PORTVERSION=    0.3.3
CATEGORIES= ftp
MASTER_SITES=   http://www.time-travellers.org/oftpd/ \
        http://www.freenix.no/~anders/

MAINTAINER= anders@fix.no

GNU_CONFIGURE=  yes

DOCFILES=   README AUTHORS ChangeLog NEWS TODO BUGS

CFLAGS+=    ${PTHREAD_CFLAGS}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${PREFIX}/libexec/oftpd
.if !defined(NOPORTDOCS)
    ${INSTALL} -d -m 555 ${PREFIX}/share/doc/oftpd
.for i in ${DOCFILES}
    ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/oftpd
.endfor
.endif

post-install:
    @${ECHO} "================================================================================"
    @${ECHO} "oftpd only runs standalone, not from inetd."
    @${ECHO} "Try ${PREFIX}/libexec/oftpd -h to see command line options."
    @${ECHO} "Create a README file in the root anonymous FTP dir to have it displayed to"
    @${ECHO} "users upon login."
    @${ECHO} "================================================================================"

.include <bsd.port.mk>