diff options
author | mnag <mnag@FreeBSD.org> | 2005-11-05 11:01:38 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-11-05 11:01:38 +0800 |
commit | 3c5d28ee9fb9f12ed64f165f2f0b243a8bb0c94c (patch) | |
tree | e69efe800315059930df180a3e0a13c38cd0eea5 /cad | |
parent | f3e29ba44935cd6ce4ae60f5c059e69c6c25619c (diff) | |
download | freebsd-ports-gnome-3c5d28ee9fb9f12ed64f165f2f0b243a8bb0c94c.tar.gz freebsd-ports-gnome-3c5d28ee9fb9f12ed64f165f2f0b243a8bb0c94c.tar.zst freebsd-ports-gnome-3c5d28ee9fb9f12ed64f165f2f0b243a8bb0c94c.zip |
Respect LOCALBASE and X11BASE
Depends libglut instead USE_MESA
Bump PORTREVISION
PR: 88465
Submitted by: Jean Milanez Melo <jmelo@freebsdbrasil.com.br> (maintainer)
Diffstat (limited to 'cad')
-rw-r--r-- | cad/slffea/Makefile | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/cad/slffea/Makefile b/cad/slffea/Makefile index 5a2e72c17a84..7e5d0e9428fa 100644 --- a/cad/slffea/Makefile +++ b/cad/slffea/Makefile @@ -8,7 +8,7 @@ PORTNAME= slffea PORTVERSION= 1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,34 +18,32 @@ EXTRACT_SUFX= .tgz MAINTAINER= jmelo@freebsdbrasil.com.br COMMENT= San Le's Free Finite Element Analysis +LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut + CONFLICTS= swi-pl-[0-9]* TenDRA-[0-9]* + USE_REINPLACE= yes -USE_MESA= yes + CFLAGS+= -I${X11BASE}/include ${PTHREAD_CFLAGS} WRKSRC= ${WRKDIR}/${PORTNAME}-1.3 ALL_TARGET= everything -EXEC= beam/beam/bm \ - beam/beam_gr/bmpost \ - brick/brick/br \ - brick/brick_gr/brpost \ - brick/brick_gr/pvbr \ - brick/brick_nl/nbr \ - plate/plate/pl \ - plate/plate_gr/plpost \ - quad/quad/qd \ - quad/quad_gr/qdpost \ - shell/shell/shl \ - shell/shell_gr/shpost \ - shell/shell_gr/pvs \ - truss/truss/ts \ - truss/truss_gr/tspost +EXEC= beam/beam/bm beam/beam_gr/bmpost brick/brick/br \ + brick/brick_gr/brpost brick/brick_gr/pvbr \ + brick/brick_nl/nbr plate/plate/pl plate/plate_gr/plpost \ + quad/quad/qd quad/quad_gr/qdpost shell/shell/shl \ + shell/shell_gr/shpost shell/shell_gr/pvs truss/truss/ts \ + truss/truss_gr/tspost PLIST_FILES= ${EXEC:T:S/^/bin\//} post-patch: @(${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ - ${REINPLACE_CMD} -E -e "s,^CC = (.*),CC = ${CC} ${CFLAGS},g ; \ - s,-lglut,-lglut ${PTHREAD_LIBS},g") + ${REINPLACE_CMD} -E -e "s|^CC = .*|CC = ${CC} ${CFLAGS}|g" \ + -e "s|-lglut|-lglut ${PTHREAD_LIBS}|g" \ + -e "s|/usr/local|${LOCALBASE}|g" \ + -e "s|/usr/X/|${X11BASE}/|g" \ + -e "s|/usr/X11/|${X11BASE}/|g" \ + -e "s|/usr/X11R6/|${X11BASE}/|g") do-install: .for file in ${EXEC} |