mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
28 lines
663 B
Makefile
28 lines
663 B
Makefile
# 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= An add-on converter for CalculiX
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" YACC="${YACC}"
|
|
|
|
PORTDOCS= model.ps.gz
|
|
PLIST_FILES= bin/vda2fbd
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/../doc && ${GZIP_CMD} -c model.ps > model.ps.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vda2fbd ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/model.ps.gz ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|