47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2004/06/20 21:52:08 xtraeme Exp $
|
|
#
|
|
|
|
DISTNAME= pl221src
|
|
PKGNAME= ploticus-2.21
|
|
PKGREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://ploticus.sourceforge.net/download/
|
|
|
|
MAINTAINER= rh@NetBSD.org
|
|
HOMEPAGE= http://ploticus.sourceforge.net/doc/Welcome.html
|
|
COMMENT= Versatile data visualization engine
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
NO_CONFIGURE= YES
|
|
USE_X11= YES
|
|
USE_BUILDLINK3= YES
|
|
|
|
ALL_TARGET= ploticus
|
|
MANSRC= ${WRKDIR}/${DISTNAME}/man
|
|
PREFABSRC= ${WRKDIR}/${DISTNAME}/prefabs
|
|
|
|
DOCDST= ${PREFIX}/share/doc/ploticus
|
|
PREFABDST= ${PREFIX}/share/ploticus
|
|
NROFF?= nroff -mandoc
|
|
|
|
MAKE_ENV+= XLIBS="-L${X11BASE}/lib -lX11"
|
|
MAKE_ENV+= XINCLUDEDIR="-I${X11BASE}/include"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin/pl
|
|
${INSTALL_DATA_DIR} ${PREFABDST}
|
|
.for file in chunk_logtics chunk_xaxis lines.pl stack.pl chron.pl \
|
|
chunk_read chunk_yaxis multidist.pl vbars.pl chunk_area \
|
|
chunk_setstd dist.pl pie.pl chunk_logstubs chunk_title draw.pl \
|
|
scat.pl
|
|
${INSTALL_DATA} ${PREFABSRC}/${file} ${PREFABDST}/${file}
|
|
.endfor
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/gd/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/freetype-lib/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|