1995-10-03 01:17:55 +00:00
|
|
|
# New ports collection makefile for: xforms
|
1998-05-12 06:34:19 +00:00
|
|
|
# Version required: 0.88.1
|
1997-03-28 11:40:07 +00:00
|
|
|
# Date created: 28 March 1997
|
1995-10-03 01:17:55 +00:00
|
|
|
# Whom: gena
|
|
|
|
#
|
1999-01-07 08:19:57 +00:00
|
|
|
# $Id: Makefile,v 1.22 1998/12/27 18:43:33 dirk Exp $
|
1995-10-03 01:17:55 +00:00
|
|
|
#
|
|
|
|
|
1998-11-11 05:37:39 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
1998-11-02 04:35:08 +00:00
|
|
|
DISTNAME= bxform-freebsd-elf
|
|
|
|
MASTER_SITES= http://bragg.phys.uwm.edu/~zhao/ftp/
|
|
|
|
PATCHDIR= ${.CURDIR}/patches.elf
|
|
|
|
.else
|
1998-01-05 17:24:45 +00:00
|
|
|
DISTNAME= bxform-088
|
1998-02-09 02:02:24 +00:00
|
|
|
MASTER_SITES= ftp://bragg.phys.uwm.edu/pub/xforms/freeBSD/ \
|
|
|
|
ftp://ftp.via.ecp.fr/pub2/xforms/freeBSD/ \
|
|
|
|
ftp://ftp.st.ryukoku.ac.jp/pub/X11/xforms/freeBSD/
|
1998-11-02 04:35:08 +00:00
|
|
|
.endif
|
|
|
|
PKGNAME= xforms-0.88.1
|
|
|
|
CATEGORIES= graphics x11-toolkits
|
1995-10-03 06:48:31 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1995-10-03 01:17:55 +00:00
|
|
|
|
1995-10-03 06:48:31 +00:00
|
|
|
MAINTAINER= gena@NetVision.net.il
|
1995-10-03 01:17:55 +00:00
|
|
|
|
1999-01-07 08:19:57 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
1998-11-02 04:35:08 +00:00
|
|
|
PATCH_STRIP= -p0 -t
|
1995-10-03 06:48:31 +00:00
|
|
|
WRKSRC= ${WRKDIR}/xforms
|
1997-05-16 12:53:21 +00:00
|
|
|
MAN1= fdesign.1 fd2ps.1
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN5= xforms.5
|
1995-10-03 01:17:55 +00:00
|
|
|
|
1998-12-27 18:43:33 +00:00
|
|
|
# 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
|
|
|
|
|
1995-10-03 01:17:55 +00:00
|
|
|
post-install:
|
1998-12-27 18:43:33 +00:00
|
|
|
# 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
|
1997-07-17 15:13:02 +00:00
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
1997-05-16 12:53:21 +00:00
|
|
|
.if !defined(NOMANCOMPRESS)
|
|
|
|
@${RM} ${PREFIX}/man/man5/forms.5
|
|
|
|
@ln -fs xforms.5.gz ${PREFIX}/man/man5/forms.5.gz
|
|
|
|
.endif
|
1995-10-03 01:17:55 +00:00
|
|
|
|
1998-11-11 05:37:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|