pkgsrc/security/sslwrap/Makefile
rillig 3cc4e32a51 Changed explicit sed(1) code to the SUBST framework. Added BINOWN and
BINGRP to the MAKE_ENV to make unpriviledged builds work.
2005-10-10 09:16:48 +00:00

33 lines
848 B
Makefile

# $NetBSD: Makefile,v 1.18 2005/10/10 09:16:48 rillig Exp $
#
DISTNAME= ${PKGNAME_NOREV:S/-//}
PKGNAME= sslwrap-206
PKGREVISION= 3
CATEGORIES= security net
MASTER_SITES= http://www.quiltaholic.com/rickk/sslwrap/
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.quiltaholic.com/rickk/sslwrap/
COMMENT= Simple SSL wrapper
OPSYSVARS+= LDADD
LDADD.SunOS= -lnsl -lsocket
MAKE_ENV+= LDADD=${LDADD:Q}
MAKE_ENV+= BINOWN=${BINOWN}
MAKE_ENV+= BINGRP=${BINGRP}
.include "../../security/openssl/buildlink3.mk"
.if !exists(${BUILDLINK_PREFIX.openssl}/include/openssl/e_os.h)
CFLAGS+= -DFLAT_INC
.endif
SUBST_CLASSES+= sslwrap
SUBST_MESSAGE.sslwrap= Adjusting the path for include files
SUBST_STAGE.sslwrap= do-configure
SUBST_FILES.sslwrap= apps.h s_cb.c s_server.c s_socket.c
SUBST_SED.sslwrap= -e 's|OPENSSL"|"openssl/|'
.include "../../mk/bsd.pkg.mk"