43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2004/02/19 21:47:00 minskim Exp $
|
|
|
|
DISTNAME= tet3.3h-unsup.src
|
|
PKGNAME= tet3-3.3h
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://tetworks.opengroup.org/tet/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://tetworks.opengroup.org/
|
|
COMMENT= The Open Group test harness
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
HAS_CONFIGURE= yes
|
|
USE_BUILDLINK3= yes
|
|
|
|
REPLACE_PERL= ../contrib/suite/src/common.pl ../contrib/NTperldemo/ts/tc1.pl
|
|
REPLACE_PERL+= ../contrib/NTperldemo/ts/tc2.pl ../contrib/NTperldemo/ts/tc3.pl
|
|
REPLACE_PERL+= ../contrib/tetreport/TetJournal.pl ../contrib/tetreport/TetReports.pl
|
|
REPLACE_PERL+= ../contrib/tetreport/tetreport.pl ../contrib/templates/perl-api.pl
|
|
REPLACE_PERL+= perl/api.pl perl/make_tcm.pl perl/template.pl
|
|
MAKEFILE= makefile
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}/.. && ${CHMOD} 755 configure && ./configure -t inet
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/tet3
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/tet3/bin
|
|
cd ${WRKSRC}/../bin && ${PAX} -rwpe . ${PREFIX}/tet3/bin
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/tet3/lib
|
|
cd ${WRKSRC}/../lib && ${PAX} -rwpe . ${PREFIX}/tet3/lib
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
PTHREAD_OPTS= native # only native threads make sense
|
|
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "native"
|
|
PKG_SKIP_REASON= "Native threads are needed for this package"
|
|
.endif
|
|
|
|
.include "../../lang/perl5/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|