Skip to content

Commit

Permalink
Allow overriding PKGSRCDIR and PKGPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertf committed Jul 6, 2000
1 parent dbfe746 commit ba05d6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.497 2000/07/06 15:05:25 hubertf Exp $ \
# $NetBSD: bsd.pkg.mk,v 1.498 2000/07/06 15:37:49 hubertf Exp $ \
#
# This file is in the public domain.
#
Expand Down Expand Up @@ -41,8 +41,8 @@ LOCALBASE?= ${DESTDIR}/usr/local
X11BASE?= ${DESTDIR}/usr/X11R6
CROSSBASE?= ${LOCALBASE}/cross

PKGSRCDIR= ${.CURDIR:C|/[^/]*/[^/]*$||}
PKGPATH= ${.CURDIR:C|.*/([^/]*/[^/]*)$|\1|}
PKGSRCDIR?= ${.CURDIR:C|/[^/]*/[^/]*$||}
PKGPATH?= ${.CURDIR:C|.*/([^/]*/[^/]*)$|\1|}
PKGBASE?= ${PKGNAME:C/-[^-]*$//}
PKGVERSION?= ${PKGNAME:C/^.*-//}
PKGWILDCARD= ${PKGBASE}-[0-9]*
Expand Down

0 comments on commit ba05d6b

Please sign in to comment.