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

PORTNAME=   glbiff
PORTVERSION=    0.3.5
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.dgp.utoronto.ca/~mac/code/projects/ \
        http://freebsd.unixfreunde.de/sources/
EXTRACT_SUFX=   .tgz

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

LIB_DEPENDS=    glut.4:${PORTSDIR}/graphics/libglut

USE_X_PREFIX=   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>