This commit is contained in:
espie 2000-04-08 22:16:57 +00:00
parent 8c8e3fb7f6
commit 3fbaca3b4d
3 changed files with 15 additions and 46 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2000/03/24 23:28:19 espie Exp $
# $OpenBSD: Makefile,v 1.7 2000/04/08 22:16:57 espie Exp $
#
ONLY_FOR_ARCHS= i386
DISTNAME= Wingz-142
CATEGORIES= math
NEED_VERSION= 1.230
NEED_VERSION= 1.230
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/financial/spreadsheet
EXTRACT_SUFX= .tgz
@ -15,14 +15,24 @@ PERMIT_PACKAGE_CDROM= "shareware"
PERMIT_PACKAGE_FTP= "shareware"
PERMIT_DISTFILES_CDROM= "shareware"
PERMIT_DISTFILES_FTP= Yes
FAKE= Yes
NO_BUILD= Yes
do-configure:
@cd ${WRKDIST} && \
sed 's:xxxx:${PREFIX}/lib/X11/:' Wingz/bin/Wingz.sh >Wingz.sh
do-install:
cd ${WRKDIST} && pax -w Wingz |(cd ${PREFIX}/lib/X11; pax -r)
${INSTALL_SCRIPT} ${WRKDIST}/Wingz.sh ${PREFIX}/bin/Wingz
${INSTALL_DATA} ${WRKDIST}/Wingz/Wingz.Xdefs ${PREFIX}/lib/X11/app-defaults/Wingz
install -m 666 /dev/null ${PREFIX}/lib/X11/Wingz/.wingz
RUN_DEPENDS= /emul/linux/lib/libc.so.5::emulators/linux_lib
WRKDIST= ${WRKDIR}
USE_X11= Yes
post-install:
@${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -1,40 +0,0 @@
*** Wingz/bin/Wingz.sh~ Fri Sep 29 12:16:44 1995
--- Wingz/bin/Wingz.sh Mon Oct 23 14:54:04 1995
***************
*** 5,11 ****
# Copyright 1988, 1989, 1990
#
! INSTDIR=xxxx
if [ ! -n "$WINGZ" ]
then
--- 5,11 ----
# Copyright 1988, 1989, 1990
#
! INSTDIR=@WINGZ_DIR@
if [ ! -n "$WINGZ" ]
then
*** Makefile~ Mon Oct 23 15:01:00 1995
--- Makefile Mon Oct 23 15:00:44 1995
***************
*** 0 ****
--- 1,13 ----
+ # Makefile to patch/install Wingz
+ PREFIX = /usr/X11R6
+ all:
+ sed 's:@WINGZ_DIR@:${PREFIX}/lib/X11/:' Wingz/bin/Wingz.sh >Wingz.sh
+ chmod +x Wingz.sh
+
+ install:
+ pax -w Wingz |(cd ${PREFIX}/lib/X11; pax -r)
+ cp Wingz.sh ${PREFIX}/bin/Wingz
+ cp Wingz/Wingz.Xdefs ${PREFIX}/lib/X11/app-defaults/Wingz
+ install -m 666 /dev/null ${PREFIX}/lib/X11/Wingz/.wingz
+
+

View File

@ -3,7 +3,6 @@ lib/X11/Wingz/bin/brander
lib/X11/Wingz/bin/Wingz
lib/X11/Wingz/bin/Wingz.dynamic
lib/X11/Wingz/bin/Wingz.sh
lib/X11/Wingz/bin/Wingz.sh.orig
lib/X11/Wingz/lib/libwztools.a
lib/X11/Wingz/Utilities/DateConv/DATE.README
lib/X11/Wingz/Utilities/DateConv/DateConv.scz