aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-30 10:44:19 +0800
committersteve <steve@FreeBSD.org>1999-05-30 10:44:19 +0800
commit8cd256fbf7f667850838a75a0280252259dc834d (patch)
treeba188122e2b0fac7a57b60cd3d5871699e609d70
parent09320aa2aca17399be4d877feb9062e817325dbc (diff)
downloadfreebsd-ports-gnome-8cd256fbf7f667850838a75a0280252259dc834d.tar.gz
freebsd-ports-gnome-8cd256fbf7f667850838a75a0280252259dc834d.tar.zst
freebsd-ports-gnome-8cd256fbf7f667850838a75a0280252259dc834d.zip
We now have a port of xforms for FreeBSD/Alpha. With the permission of
the author I've stuck these on my homepage until they appear on the real MASTER_SITE. While I was at it I also fixed up the ELF port so that we didn't need to mung the soname in the library.
-rw-r--r--x11-toolkits/xforms/Makefile27
-rw-r--r--x11-toolkits/xforms/distinfo3
2 files changed, 10 insertions, 20 deletions
diff --git a/x11-toolkits/xforms/Makefile b/x11-toolkits/xforms/Makefile
index 9ce5e7d6a1dc..2529bdfaaa20 100644
--- a/x11-toolkits/xforms/Makefile
+++ b/x11-toolkits/xforms/Makefile
@@ -3,15 +3,20 @@
# Date created: 28 March 1997
# Whom: gena
#
-# $Id: Makefile,v 1.22 1998/12/27 18:43:33 dirk Exp $
+# $Id: Makefile,v 1.23 1999/01/07 08:19:54 simokawa Exp $
#
USE_X_PREFIX= yes
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
+.if ${MACHINE_ARCH} == "alpha"
+DISTNAME= bxform-freebsd-alpha
+.else
DISTNAME= bxform-freebsd-elf
-MASTER_SITES= http://bragg.phys.uwm.edu/~zhao/ftp/
+.endif
+MASTER_SITES= http://www.freebsd.org/~steve/distfiles/ \
+ http://bragg.phys.uwm.edu/~zhao/ftp/
PATCHDIR= ${.CURDIR}/patches.elf
.else
DISTNAME= bxform-088
@@ -25,29 +30,13 @@ EXTRACT_SUFX= .tgz
MAINTAINER= gena@NetVision.net.il
-ONLY_FOR_ARCHS= i386
-
PATCH_STRIP= -p0 -t
WRKSRC= ${WRKDIR}/xforms
MAN1= fdesign.1 fd2ps.1
MAN5= xforms.5
-# XXX: ask the author to include the right soname
-.if ${PORTOBJFORMAT} == "elf"
-.if !exists(/usr/bin/perl5)
-pre-fetch:
- @${ECHO} "Need perl5 to patch soname"
- @${FALSE}
-.endif
-.endif
-
post-install:
-# XXX: ask the author to include the right soname
-.if ${PORTOBJFORMAT} == "elf"
- /usr/bin/perl5 -pe 's/libforms.so.0.88/libxforms.so.0\000\000/' < ${PREFIX}/lib/libxforms.so.0 > ${PREFIX}/lib/libxforms.so.0.tmp
- ${MV} ${PREFIX}/lib/libxforms.so.0.tmp ${PREFIX}/lib/libxforms.so.0
-.endif
- ${LDCONFIG} -m ${PREFIX}/lib
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOMANCOMPRESS)
@${RM} ${PREFIX}/man/man5/forms.5
@ln -fs xforms.5.gz ${PREFIX}/man/man5/forms.5.gz
diff --git a/x11-toolkits/xforms/distinfo b/x11-toolkits/xforms/distinfo
index b7137f8bf2fd..4a835c288b0e 100644
--- a/x11-toolkits/xforms/distinfo
+++ b/x11-toolkits/xforms/distinfo
@@ -1,2 +1,3 @@
MD5 (bxform-088.tgz) = 106c6d429e1b2a11f460e5375c5d51c6
-MD5 (bxform-freebsd-elf.tgz) = 30d178a335f71422eaf20464ce305854
+MD5 (bxform-freebsd-alpha.tgz) = c5451ac858392230ee84a7caea5a153f
+MD5 (bxform-freebsd-elf.tgz) = 7f95c27c217d7c0509463bab1b56aa17