e8d8834f6a
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.39 2010/06/13 22:44:35 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= hp2xx-3.4.4
|
|
PKGREVISION= 9
|
|
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"
|