aboutsummaryrefslogtreecommitdiffstats
path: root/mail/glbiff/Makefile
blob: f004ab33e04dc7e49e8cb65a736f34039c9a4ddd (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
# New ports collection makefile for:    glbiff
# Date created:             18 May 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   glbiff
PORTVERSION=    0.3.5
CATEGORIES= mail
MASTER_SITES=   http://www.dgp.utoronto.ca/~mac/code/projects/
EXTRACT_SUFX=   .tgz

MAINTAINER= petef@FreeBSD.org
COMMENT=    Xbiff-like program for X Window System with nice 3D output

USE_X_PREFIX=   yes
USE_MESA=   yes
GNU_CONFIGURE=  yes

CFLAGS+=    ${PTHREAD_CFLAGS} ${PTHREAD_LIBS:S/"//g}
CONFIGURE_ENV=  CFLAGS="${CFLAGS}"
MAKE_ENV=   PTHREAD_LIBS="${PTHREAD_LIBS}" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"

MAN1=       glbiff.1
MAN5=       glbiffrc.5

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/glbiff ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/glbiff.1 ${PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/glbiffrc.5 ${PREFIX}/man/man5
    @${MKDIR} ${PREFIX}/share/examples/glbiff
    ${INSTALL_DATA} ${WRKSRC}/glbiffrc.sample ${PREFIX}/share/examples/glbiff/dot.glbiffrc.sample
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/glbiff
.for file in ChangeLog README README.last-minute TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/glbiff
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>