pkgsrc-wip/panda/Makefile
2012-12-28 13:14:36 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2012/12/28 13:14:36 othyro Exp $
#
DISTNAME= panda-0.5.4
PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=panda/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.stillhq.com//panda/
COMMENT= GPLed PDF generation library
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= none
USE_PKGLOCALEDIR= yes
PKGCONFIG_OVERRIDE+= ${WRKSRC}/panda.pc.in
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake
# THIS package is broken, when creating the library it checks for the real
# installation path, not the sources one. and this crashes in compilation
# when the library is yet installed in the system.
#
# ugly fix to fix an ugly ln -s from the author
#
# - bugs reported - hope to drop this in the next version
post-extract:
rm -f ${WRKSRC}/config/config.* ${WRKSRC}/config/ltmain.sh
cp ${FILESDIR}/*.* ${WRKSRC}/config/
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../databases/edb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"