diff options
Diffstat (limited to 'cad/slffea/Makefile')
-rw-r--r-- | cad/slffea/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cad/slffea/Makefile b/cad/slffea/Makefile index 2ad219d57640..955bab8b2c57 100644 --- a/cad/slffea/Makefile +++ b/cad/slffea/Makefile @@ -10,8 +10,7 @@ PORTNAME= slffea PORTVERSION= 1.3 PORTREVISION= 4 CATEGORIES= cad -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= SF DISTNAME= ${PORTNAME}13 EXTRACT_SUFX= .tgz @@ -22,7 +21,7 @@ LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut CONFLICTS= swi-pl-[0-9]* TenDRA-[0-9]* -CFLAGS+= -I${X11BASE}/include ${PTHREAD_CFLAGS} +CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} WRKSRC= ${WRKDIR}/${PORTNAME}-1.3 ALL_TARGET= everything @@ -39,9 +38,9 @@ post-patch: ${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") + -e "s|/usr/X/|${LOCALBASE}/|g" \ + -e "s|/usr/X11/|${LOCALBASE}/|g" \ + -e "s|/usr/X11R6/|${LOCALBASE}/|g") do-install: .for file in ${EXEC} |