fake
This commit is contained in:
parent
8406babad8
commit
77e0b08dcb
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2000/05/05 18:00:22 turan Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2000/06/04 18:18:02 espie Exp $
|
||||
|
||||
VER= 3.1.1
|
||||
DISTNAME= STk-${VER}
|
||||
CATEGORIES= lang
|
||||
FAKE=No
|
||||
MASTER_SITES= ftp://kaolin.unice.fr/pub/STk/
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
@ -13,7 +12,8 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
HAS_CONFIGURE= Yes
|
||||
CONFIGURE_ARGS=--prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc'
|
||||
|
||||
.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "arc" || \
|
||||
${MACHINE_ARCH} == "pmax" || ${MACHINE_ARCH} == "powerpc")
|
||||
@ -22,12 +22,22 @@ CONFIGURE_ARGS+= --disable-dynload
|
||||
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && mv config.make config.make.org && \
|
||||
sed -e 's,${PREFIX},$${DESTDIR}${PREFIX},' \
|
||||
<config.make.org >config.make
|
||||
pre-install:
|
||||
@rm -f ${PLIST}
|
||||
@sed -e's:%%STK_VERSION%%:${VER}:' \
|
||||
-e's:%%STK_ARCH%%:$(OPSYS)-$(OPSYS_VER)-$(MACHINE):' \
|
||||
${PLIST_ORIG} > ${PLIST}
|
||||
|
||||
# fix badlink postinstall-wise
|
||||
post-install:
|
||||
.for i in stk-${VER} snow-${VER} stk snow
|
||||
k=`readlink ${PREFIX}/bin/$i|sed -e 's,${WRKINST},,'`; echo $$k; ln -sf $$k ${PREFIX}/bin/$i
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
.if (defined(NO_SHARED_LIBS) && exists(${PKGDIR}/PLIST.template.noshared))
|
||||
|
Loading…
Reference in New Issue
Block a user