pkgsrc/print/pdflib/Makefile
jlam 6579c53a61 Use PKGREVISION to manage the package-specific version number when it
differs from the distfile version number.  G/C some the unused variables
in pdflib/Makefile.common related to the old way of handling version
numbers.  Invent PDFLIB_BASE_VERS, which is ${PDFLIB_DIST_VERS} that's
been munged so that's understandable by the pkg_* tools' wildcard version
numbering logic.
2001-12-03 08:14:20 +00:00

23 lines
506 B
Makefile

# $NetBSD: Makefile,v 1.14 2001/12/03 08:14:20 jlam Exp $
.include "Makefile.common"
PKGNAME= pdflib-${PDFLIB_BASE_VERS}
COMMENT= C library to produce PDF files
USE_BUILDLINK_ONLY= YES
ALL_TARGET= pdflib
DOCDIR= ${PREFIX}/share/doc/pdflib
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc; for file in \
PDFlib-license.pdf \
PDFlib-manual.pdf \
aladdin-license.pdf; \
do \
${INSTALL_DATA} $${file} ${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"