head	1.4;
access;
symbols
	RELEASE_2_4_6:1.2
	RELEASE_2_4_5:1.2
	RELEASE_2_4_3:1.2
	RELEASE_2_4_2:1.2
	RELEASE_2_4_1:1.2
	RELEASE_2_4_0:1.2
	RELEASE_2_3_2:1.2
	RELEASE_2_3_1:1.2
	STABLE_2_3:1.2.0.4
	RELEASE_2_3_0:1.2
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.2
	RELEASE_2_2_4:1.2
	RELEASE_2_2_3:1.2
	STABLE_2_2:1.2.0.2
	RELEASE_2_2_2:1.2
	RELEASE_2_2_1:1.2
	RELEASE_2_2_0:1.2
	RELEASE_2_1_3_3:1.1.1.1
	RELEASE_2_1_7:1.2
	RELEASE_2_1_6:1.1.1.1
	RELEASE_2_1_3_2:1.1.1.1
	RELEASE_2_1_5:1.1.1.1
	RELEASE_2_1_3_1:1.1.1.1.0.4
	STABLE:1.1.1.1.0.2
	PKGTOOLS_2_1_4:1.1.1.1
	PKGTOOLS_2_1_3:1.1.1.1
	sem:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2011.08.19.00.57.22;	author stas;	state dead;
branches;
next	1.3;

1.3
date	2008.07.17.00.26.38;	author sem;	state Exp;
branches;
next	1.2;

1.2
date	2006.08.14.17.34.11;	author sem;	state Exp;
branches;
next	1.1;

1.1
date	2006.06.13.12.59.00;	author sem;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2006.06.13.12.59.00;	author sem;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- The project data has moved to github (https://github.com/stass/pkgtools).
@
text
@# $Id: Makefile,v 1.2 2006/08/14 17:34:11 sem Exp $

BUILDDIR=	.build

FILES=	${BUILDDIR}/pkg.rb \
	${BUILDDIR}/pkgdb.rb \
	${BUILDDIR}/pkgdbtools.rb \
	${BUILDDIR}/pkginfo.rb \
	${BUILDDIR}/pkgmisc.rb \
	${BUILDDIR}/pkgtools.rb \
	${BUILDDIR}/pkgtsort.rb \
	${BUILDDIR}/pkgversion.rb \
	${BUILDDIR}/portinfo.rb \
	${BUILDDIR}/ports.rb \
	${BUILDDIR}/portsdb.rb

FILESDIR?=	`${RUBY} -rrbconfig -e \
	'puts "%s/%s.%s" % %w[sitedir MAJOR MINOR].map { |k| Config::CONFIG[k] }'`

CLEANDIRS=	${BUILDDIR}

.for file in ${FILES}
${file}: ${file:T}
	${RUBY} -wc ${.ALLSRC}
	@@mkdir -p ${BUILDDIR}
	${RUBY} -p \
		-e '$$_.sub %r:/usr/local:, "${PREFIX}"' \
		${.ALLSRC} > ${.TARGET}
.endfor

.include <bsd.prog.mk>

.include "${.CURDIR}/../Makefile.compat"
@


1.3
log
@Adapt to ruby 1.9
@
text
@@


1.2
log
@Add pkgdbtools.rb file
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.1.1 2006/06/13 12:59:00 sem Exp $
d27 1
a27 1
		-e 'sub %r:/usr/local:, "${PREFIX}"' \
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $Id: Makefile 52 2006-01-01 06:26:59Z koma2 $
d7 1
@


1.1.1.1
log
@Initial import
@
text
@@
