aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/xforms/Makefile
blob: 4ee31e536f99525d9abfa879a20b3dd47da6fb2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    xforms
# Version required: 0.88.1
# Date created:     28 March 1997
# Whom:         gena
#
# $FreeBSD$
#

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
.endif
MASTER_SITES=   http://people.FreeBSD.org/~steve/distfiles/ \
        http://bragg.phys.uwm.edu/~zhao/ftp/
PATCHDIR=   ${.CURDIR}/patches.elf
.else
DISTNAME=   bxform-088
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/
.endif
PKGNAME=    xforms-0.88.1
CATEGORIES= graphics x11-toolkits
EXTRACT_SUFX=   .tgz

MAINTAINER= gena@NetVision.net.il

PATCH_STRIP=    -p0 -t
WRKSRC=     ${WRKDIR}/xforms
MAN1=       fdesign.1 fd2ps.1
MAN5=       xforms.5

post-install:
    ${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
.endif

.include <bsd.port.post.mk>