1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/cad/felt/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: FElt
# Date created: 19 October 1996
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= felt
PORTVERSION= 3.05
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://symphony.clarku.edu/atkinson/felt/Binaries/ \
ftp://ftp.isd.uni-stuttgart.de/pub/src/FEM/FElt/
MASTER_SITE_SUBDIR= felt
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
WRKSRC= ${WRKDIR}/FElt-${PORTVERSION}
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1
MAN3= Drawing.3
MAN4= corduroy.4 felt.4
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
${WRKSRC}/lib/Felt/parser.c \
${WRKSRC}/lib/Widgets/xwd.c ${WRKSRC}/lib/Matrix/data.c \
${WRKSRC}/lib/Matrix/factor.c ${WRKSRC}/lib/Matrix/eigen.c \
${WRKSRC}/lib/Matrix/c_data.c ${WRKSRC}/lib/Matrix/c_factor.c \
${WRKSRC}/include/allocate.h ${WRKSRC}/src/Velvet/error.c \
${WRKSRC}/src/Burlap/allocate.h ${WRKSRC}/src/Burlap/interactive.c \
${WRKSRC}/src/Burlap/parser.c \
${WRKSRC}/src/Corduroy/parser.c \
${WRKSRC}/src/Patchwork/util.c
post-install:
${MKDIR} ${PREFIX}/share/examples/FElt
${CP} ${WRKSRC}/examples/* ${PREFIX}/share/examples/FElt
${MKDIR} ${PREFIX}/share/doc/FElt
${CP} ${WRKSRC}/*.html ${PREFIX}/share/doc/FElt
.include <bsd.port.mk>