# $NetBSD: Makefile,v 1.7 2005/05/22 20:08:30 jlam 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_TOOLS+= gmake 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"