aboutsummaryrefslogtreecommitdiff
path: root/lang/yabasic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/yabasic/Makefile')
-rw-r--r--lang/yabasic/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile
index 02958782b3d0..138581f2f7d9 100644
--- a/lang/yabasic/Makefile
+++ b/lang/yabasic/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= yabasic
-PORTVERSION= 2.681
+PORTVERSION= 2.697
CATEGORIES= lang
MASTER_SITES= http://www.yabasic.de/download/
@@ -15,18 +15,17 @@ MAINTAINER= ports@FreeBSD.org
USE_BISON= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include"
+CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include" \
+ LIBS="-L${X11BASE}/lib"
MAN1= yabasic.1
post-patch:
- ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/bison.c
+ @${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/bison.c
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/yabasic ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/yabasic.1 ${MANPREFIX}/man/man1
+post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/yabasic
- ${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${PREFIX}/share/doc/yabasic
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${DOCSDIR}
.endif
.include <bsd.port.mk>