9fc2d7d281
need them, for example RESTRICTED and SUBST_MESSAGE.*.
39 lines
991 B
Makefile
39 lines
991 B
Makefile
# $NetBSD: Makefile,v 1.28 2006/04/22 09:22:14 rillig Exp $
|
|
|
|
DISTNAME= zebedee-2.5.3
|
|
PKGREVISION= 2
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zebedee/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.winton.org.uk/zebedee/
|
|
COMMENT= Simple tunneling program for TCP or UDP with encryption
|
|
|
|
USE_TOOLS+= gmake perl tclsh:run
|
|
|
|
MAKE_ENV+= PERL5=${PERL5:Q}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "Darwin"
|
|
MAKE_FLAGS+= OS=macosx
|
|
.else
|
|
MAKE_FLAGS+= OS=${LOWER_OPSYS:Q}
|
|
.endif
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing tclsh paths.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= ftpgw.tcl
|
|
SUBST_SED.paths= -e 's,tclsh,${TCLSH},g'
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
|
|
PTHREAD_CFLAGS+= -DHAVE_PTHREADS
|
|
.endif
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|