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.2
	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.07.02.15.30.37;	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/07/02 15:30:37 sem Exp $

ETCDIR?=	${PREFIX}/etc

BUILDDIR=	.build

SCRIPTS=	${BUILDDIR}/status-pkg.sh

#SCRIPTSDIR_status-pkg.sh=	/etc/periodic/weekly
#SCRIPTSNAME_status-pkg.sh=	400.status-pkg.sh
SCRIPTSDIR_status-pkg.sh=	${ETCDIR}
SCRIPTSNAME_status-pkg.sh=	pkgtools.status-pkg.sh

FILES=		pkgtools.conf

FILESDIR?=	${ETCDIR}
FILESNAME_pkgtools.conf=	pkgtools.conf.sample

CLEANDIRS=	${BUILDDIR}

.for script in ${SCRIPTS}
${script}: ${script:T}
	@@mkdir -p ${BUILDDIR}
	${RUBY} -p \
		-e '$$_.sub(%r:/usr/local:, "${PREFIX}")' \
		-e '$$_.sub(%r:(/etc/rc\.subr):, "${PREFIX}\\1") if !File.exist?("/etc/rc.subr")' \
		${.ALLSRC} > ${.TARGET}
.endfor

.include <bsd.prog.mk>

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


1.3
log
@Adapt to ruby 1.9
@
text
@@


1.2
log
@One more man page was in etc/. Move it in man/
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.1.1 2006/06/13 12:59:00 sem Exp $
d25 2
a26 2
		-e 'sub(%r:/usr/local:, "${PREFIX}")' \
		-e 'sub(%r:(/etc/rc\.subr):, "${PREFIX}\\1") if !File.exist?("/etc/rc.subr")' \
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $Id: Makefile 52 2006-01-01 06:26:59Z koma2 $
a18 4
MANDIR=		${PREFIX}/man/man

MAN5=		pkgtools.conf.5

@


1.1.1.1
log
@Initial import
@
text
@@
