summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-07-17 04:15:11 +0000
committerMark Pulford <markp@FreeBSD.org>2001-07-17 04:15:11 +0000
commit53738dcf4ae717b42df6c49ae3e6006d39f417e7 (patch)
tree48ea2f1104757cd1e078ab74f5ba27862bbfc92b
parentUpdate to 1.9.0 (diff)
Update to 2.697
PR: 29020 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=45188
-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