openbsd-ports/lang/STk/Makefile

38 lines
873 B
Makefile
Raw Normal View History

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
VER= 3.1.1
DISTNAME= STk-${VER}
1998-02-05 12:17:21 -05:00
CATEGORIES= lang
FAKE=No
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
.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>
.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
.endif