aboutsummaryrefslogtreecommitdiff
path: root/lang/yabasic/Makefile
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 /lang/yabasic/Makefile
parent5c00a9c8f0ca949b4a4214dd421617d9f0d0fc89 (diff)
downloadports-53738dcf4ae717b42df6c49ae3e6006d39f417e7.tar.gz
ports-53738dcf4ae717b42df6c49ae3e6006d39f417e7.zip
Notes
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>