summaryrefslogtreecommitdiff
path: root/graphics/hp2xx/Makefile
blob: e09e7e92c3ae6d09aac6bc0f8f39be587e8405ef (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
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.41 2012/02/06 12:40:26 wiz Exp $
#

DISTNAME=	hp2xx-3.4.4
PKGREVISION=	11
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GNU:=hp2xx/}

MAINTAINER=	dmcmahill@NetBSD.org
HOMEPAGE=	http://www.gnu.org/software/hp2xx/hp2xx.html
COMMENT=	HPGL converter and previewer

PKG_DESTDIR_SUPPORT=	user-destdir

BUILD_DIRS=	sources
USE_TOOLS+=	makeinfo
MAKE_FLAGS=	prefix=${PREFIX}					\
		mandir=${PREFIX}/${PKGMANDIR}				\
		infodir=${PREFIX}/${PKGINFODIR}
MAKE_ENV+=	XLDFLAGS=${LDFLAGS:Q} XCPPFLAGS=${CPPFLAGS:Q}
INFO_FILES=	# PLIST

INSTALL_MAKE_FLAGS+=	prefix=${DESTDIR}${PREFIX}			\
		mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}			\
		infodir=${DESTDIR}${PREFIX}/${PKGINFODIR}

INSTALLATION_DIRS=	bin ${PKGINFODIR} ${PKGMANDIR}/man1

post-extract:
	${CP} ${WRKSRC}/makes/generic.mak ${WRKSRC}/sources/Makefile

.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../print/pdflib/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"