aboutsummaryrefslogtreecommitdiffstats
path: root/lang/yabasic
diff options
context:
space:
mode:
Diffstat (limited to 'lang/yabasic')
-rw-r--r--lang/yabasic/Makefile15
-rw-r--r--lang/yabasic/distinfo2
2 files changed, 8 insertions, 9 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>
diff --git a/lang/yabasic/distinfo b/lang/yabasic/distinfo
index 8a632dd8d95b..ac8ac3af6cec 100644
--- a/lang/yabasic/distinfo
+++ b/lang/yabasic/distinfo
@@ -1 +1 @@
-MD5 (yabasic-2.681.tar.gz) = 3965beb0feaa3ac95a225caafc07a188
+MD5 (yabasic-2.697.tar.gz) = bbd287dd9d85acb0eb66db9f9d166b50