summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam>2001-12-03 08:14:20 +0000
committerjlam <jlam>2001-12-03 08:14:20 +0000
commit2de7752c54686820f8094e82fece4858f66c6f6c (patch)
treef776c19efcdfd8616a9a6a5aaef3375248b45bf9 /print
parent12011e2355d80a81c17ece1d43566874053a58c6 (diff)
downloadpkgsrc-2de7752c54686820f8094e82fece4858f66c6f6c.tar.gz
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.
Diffstat (limited to 'print')
-rw-r--r--print/pdflib/Makefile5
-rw-r--r--print/tcl-pdflib/Makefile7
2 files changed, 5 insertions, 7 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile
index 37f94e2433d..d1c5e5b8bbf 100644
--- a/print/pdflib/Makefile
+++ b/print/pdflib/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2001/10/03 22:36:40 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2001/12/03 08:14:20 jlam Exp $
.include "Makefile.common"
-PKGNAME= pdflib-${PDFLIB_VERS}
-PDFLIB_PKG_VERS= # empty
+PKGNAME= pdflib-${PDFLIB_BASE_VERS}
COMMENT= C library to produce PDF files
USE_BUILDLINK_ONLY= YES
diff --git a/print/tcl-pdflib/Makefile b/print/tcl-pdflib/Makefile
index 39625badd2a..31926ef4074 100644
--- a/print/tcl-pdflib/Makefile
+++ b/print/tcl-pdflib/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/10/01 20:54:06 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2001/12/03 08:14:21 jlam Exp $
.include "../pdflib/Makefile.common"
-PKGNAME= tcl-pdflib-${PDFLIB_VERS}
-PDFLIB_PKG_VERS= # empty
+PKGNAME= tcl-pdflib-${PDFLIB_BASE_VERS}
COMMENT= Tcl interface to PDFlib for generating PDF files
USE_BUILDLINK_ONLY= YES
-BUILDLINK_DEPENDS.pdflib= pdflib>=${PDFLIB_DIST_VERS}
+BUILDLINK_DEPENDS.pdflib= pdflib>=${PDFLIB_BASE_VERS}
CONFIGURE_ARGS+= --with-tcl=${TCLSH}
CONFIGURE_ARGS+= --with-tclincl="${BUILDLINK_DIR}/include"