blob: 92e20d4103bb28ccae7bd8c1c854e974738145ac (
plain)
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
|
# $NetBSD: Makefile,v 1.15 2010/02/11 21:03:54 joerg Exp $
#
DISTNAME= ftpproxy-${VERSION}
CATEGORIES= net
MASTER_SITES= http://www.ftpproxy.org/download/ \
http://www.ftpproxy.org/download/older_releases/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ftpproxy.org/
COMMENT= Application level gateway for FTP
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DIRS= src
VERSION= 1.2.3
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
LIBS+= -lsocket -lnsl
OSFLAG= -DSOLARIS
.endif
MAKE_ENV+= OSFLAG=${OSFLAG:Q} OSLIB=${LIBS:M*:Q} VERSION=${VERSION:Q}
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/src/ftp.proxy ${DESTDIR}${PREFIX}/libexec/
${INSTALL_MAN} ${WRKSRC:Q}/doc/ftp.proxy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ftp.proxy.8
.include "../../mk/bsd.pkg.mk"
|