2829e658f2
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
31 lines
789 B
Makefile
31 lines
789 B
Makefile
# $NetBSD: Makefile,v 1.14 2007/01/07 09:14:02 rillig 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
|
|
|
|
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 ${PREFIX:Q}/libexec/
|
|
${INSTALL_MAN} ${WRKSRC:Q}/doc/ftp.proxy.1 ${PREFIX:Q}/man/man8/ftp.proxy.8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|