aboutsummaryrefslogtreecommitdiffstats
path: root/converters/vda2fbd/Makefile
blob: 07eb16c5e477719b3b35b43cca122636b3584be9 (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
# Created by: Pedro Giffuni <giffunip@asme.org>
# $FreeBSD$

PORTNAME=   vda2fbd
PORTVERSION=    1.0
CATEGORIES= converters cad
MASTER_SITES=   http://www.dhondt.de/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Add-on converter for CalculiX

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/../LICENSE

MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}" YACC="${YACC}"
WRKSRC_SUBDIR=  src

PORTDOCS=   model.ps.gz
PLIST_FILES=    bin/vda2fbd

OPTIONS_DEFINE= DOCS

post-build:
    cd ${WRKSRC}/../doc && ${GZIP_CMD} -c model.ps > model.ps.gz

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/vda2fbd ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/../doc/model.ps.gz ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>