blob: 942777bd082fea0e637a189584dae4c0bc6b6366 (
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
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.6 2005/04/11 21:47:11 tv Exp $
#
DISTNAME= gnustep-base-1.10.1
PKGNAME= ${DISTNAME:S/base/ssl/}
CATEGORIES= security gnustep
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.gnustep.org/
COMMENT= GNUstep SSL bundle
BUILDLINK_DEPENDS.gnustep-base= gnustep-base>1.10.1
PTHREAD_LIBS= -lpthread
CONFIGURE_DIRS= ${WRKDIR}/${DISTNAME}
WRKSRC= ${CONFIGURE_DIRS}/SSL
MAKEFILE= GNUmakefile
USE_GNU_TOOLS+= make
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/share/GNUstep
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}/libexec/GNUstep
CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
pre-configure:
.for pfile in configure ../base.make.in
${CP} ${WRKSRC}/${pfile} ${WRKSRC}/${pfile}.tmpl
${SED} 's|@PTHREAD_LIBS@|${PTHREAD_LIBS}|g' \
<${WRKSRC}/${pfile}.tmpl >${WRKSRC}/${pfile}
.endfor
.include "../../devel/gnustep-base/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
PTHREAD_LIBS+= -lpth
.endif
.include "../../mk/bsd.pkg.mk"
|