Fix issues with PLIST_SRC. Also remove non-existent file from PLIST.
This should fix the builk-build failure. Note: this package has an option for using graphics/plplot, which no longer exists.
This commit is contained in:
parent
487e086e50
commit
9f95d7ec19
2 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2005/11/02 18:00:25 thomasklausner Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2006/08/16 20:14:48 dhowland Exp $
|
||||
#
|
||||
|
||||
DISTNAME= rlab-2.1.05
|
||||
|
@ -18,19 +18,22 @@ PKG_SUGGESTED_OPTIONS= gnuplot
|
|||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
PLIST_SRC= # empty
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mgnuplot)
|
||||
DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot
|
||||
CONFIGURE_ARGS+= --with-gnuplot
|
||||
PLIST_SRC+= PLIST.gnuplot
|
||||
PLIST_SRC+= ${PKGDIR}/PLIST.gnuplot
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mplplot)
|
||||
. include "../../graphics/plplot/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --with-plplot=${BUILDLINK_PREFIX.plplot}/lib
|
||||
PLIST_SRC+= PLIST.plplot
|
||||
PLIST_SRC+= ${PKGDIR}/PLIST.plplot
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS+= --with-LIBS=${PREFIX}/lib
|
||||
PLIST_SRC+= ${PKGDIR}/PLIST
|
||||
|
||||
.include "../../devel/readline/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@comment $NetBSD: PLIST,v 1.4 2005/04/12 18:02:32 airhead Exp $
|
||||
@comment $NetBSD: PLIST,v 1.5 2006/08/16 20:14:48 dhowland Exp $
|
||||
bin/${PKGNAME}
|
||||
bin/rlab2
|
||||
share/${PKGNAME}/rlib/plot.r
|
||||
man/man1/rlab2.1
|
||||
@dirrm share/${PKGNAME}/doc/help
|
||||
@dirrm share/${PKGNAME}/doc
|
||||
|
|
Loading…
Reference in a new issue