summaryrefslogtreecommitdiff
path: root/print/pslib/Makefile
blob: 51a255ca5c3ec02625df0817d5e2756aa37f205a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.14 2015/01/26 13:09:09 mef Exp $
#

DISTNAME=		pslib-0.4.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

# 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"