2007-09-16 01:53:42 +02:00
|
|
|
# New ports collection makefile for: gproftpd
|
|
|
|
# Date created: 14 September 2007
|
|
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gproftpd
|
|
|
|
PORTVERSION= 8.3.2
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 3
|
2007-09-16 01:53:42 +02:00
|
|
|
CATEGORIES= ftp
|
|
|
|
MASTER_SITES= http://mange.dynalias.org/linux/gproftpd/
|
|
|
|
|
2009-08-28 18:52:33 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-09-16 01:53:42 +02:00
|
|
|
COMMENT= Gtk2 Frontend for proftpd daemon
|
|
|
|
|
|
|
|
RUN_DEPENDS= proftpd:${PORTSDIR}/ftp/proftpd
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2008-08-20 02:57:32 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262
|
2007-09-16 01:53:42 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= gtk20 pkgconfig
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS README ChangeLog COPYING
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
@${ECHO_CMD} "****** Make sure you have mod_tls and mod_radius enabled in ftp/proftpd ******"
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
@sleep 3
|
|
|
|
@${CP} ${FILESDIR}/crypt.h ${WRKSRC}/src/
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e "s:\<crypt.h\>:\"crypt.h\":" ${WRKSRC}/src/functions.c
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2007-09-17 11:41:28 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
2007-09-16 01:53:42 +02:00
|
|
|
.endif
|
2007-09-17 11:41:28 +02:00
|
|
|
@${INSTALL} -d ${PREFIX}/share/applications
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/desktop/net-gproftpd.desktop \
|
|
|
|
${PREFIX}/share/applications
|
2007-09-16 01:53:42 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|