2000-05-05 14:00:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2000/05/05 18:00:22 turan Exp $
|
1998-02-05 12:17:21 -05:00
|
|
|
|
1999-11-23 23:22:21 -05:00
|
|
|
VER= 3.1.1
|
|
|
|
DISTNAME= STk-${VER}
|
1998-02-05 12:17:21 -05:00
|
|
|
CATEGORIES= lang
|
2000-04-09 13:35:57 -04:00
|
|
|
FAKE=No
|
1999-11-23 23:22:21 -05:00
|
|
|
MASTER_SITES= ftp://kaolin.unice.fr/pub/STk/
|
|
|
|
|
|
|
|
MAINTAINER= ports@openbsd.org
|
1998-02-05 12:17:21 -05:00
|
|
|
|
2000-04-28 20:02:51 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
1998-02-05 12:17:21 -05:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
1999-11-23 23:22:21 -05:00
|
|
|
.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "arc" || \
|
|
|
|
${MACHINE_ARCH} == "pmax" || ${MACHINE_ARCH} == "powerpc")
|
|
|
|
CONFIGURE_ARGS+= --disable-dynload
|
|
|
|
.endif
|
|
|
|
|
|
|
|
PLIST= ${WRKDIR}/PLIST
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@rm -f ${PLIST}
|
|
|
|
@sed -e's:%%STK_VERSION%%:${VER}:' \
|
|
|
|
-e's:%%STK_ARCH%%:$(OPSYS)-$(OPSYS_VER)-$(MACHINE):' \
|
|
|
|
${PLIST_ORIG} > ${PLIST}
|
1998-02-05 12:17:21 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
1999-11-23 23:22:21 -05:00
|
|
|
|
|
|
|
.if (defined(NO_SHARED_LIBS) && exists(${PKGDIR}/PLIST.template.noshared))
|
|
|
|
PLIST_ORIG= ${FILESDIR}/PLIST.template.noshared
|
|
|
|
.else
|
2000-05-05 14:00:22 -04:00
|
|
|
PLIST_ORIG= ${FILESDIR}/PLIST.template
|
1999-11-23 23:22:21 -05:00
|
|
|
.endif
|