aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/4va/Makefile
blob: fde26632afb67dbe3c1db57e387311aa73a96d2d (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
# New ports collection makefile for:    4va
# Version required: 1.21
# Date created:     26 July 1998
# Whom:         Malte Lance <malte.lance@gmx.net>
#
# $Id: Makefile,v 1.1.1.1 1998/08/19 22:48:18 steve Exp $
#

DISTNAME=       4va-1.21
CATEGORIES=     graphics
MASTER_SITES=       ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/graphics/hacks/X
EXTRACT_SUFX=       .tgz

MAINTAINER= malte.lance@gmx.net

USE_XLIB=   yes
MAN1=       4va.1

4VA_REL_DATA_DIR=   share/4va-1.21
4VA_DATA_FILES=     16cell.4vd 24cell.4vd 5cell.4vd 600cell.4vd ctor.4vd \
            ctor2.4vd hcube.4vd hsph.4vd sin.4vd tripris.4vd

post-extract:
    @chmod -R go-x ${WRKSRC}/

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/4va ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/4vdmake ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/ctorus ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/cutctorus ${PREFIX}/bin
    ${MKDIR} ${PREFIX}/${4VA_REL_DATA_DIR}
    for i in ${4VA_DATA_FILES}; do \
      ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${4VA_REL_DATA_DIR}; \
    done
    ${INSTALL_MAN} ${WRKSRC}/4va.man ${PREFIX}/man/man1/4va.1

.include <bsd.port.mk>