32 lines
795 B
Makefile
32 lines
795 B
Makefile
# $NetBSD: Makefile,v 1.22 2020/03/20 11:58:15 nia Exp $
|
|
#
|
|
|
|
DISTNAME= pslib-0.4.5
|
|
PKGREVISION= 5
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pslib/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pslib.sourceforge.net/
|
|
COMMENT= C-library to create PostScript files
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LIBTOOL= yes
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libps.pc.in
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= msgfmt perl gmake
|
|
|
|
BUILD_MAKE_FLAGS+= LIBS="-lm -lintl"
|
|
|
|
# share/locale/de/LC_MESSAGES/pslib.mo is missing without these
|
|
post-build:
|
|
cd ${WRKSRC}/po && ${GMAKE}
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/po && ${GMAKE} install
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|