summaryrefslogtreecommitdiff
path: root/pkgtools/pkgconflict/Makefile
blob: b6611e3e51a0e875c524a4e119201c83fb75197e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.10 2004/03/26 02:27:50 wiz Exp $
#

DISTNAME=	pkgconflict-0.3
PKGREVISION=	2
CATEGORIES=	pkgtools
MASTER_SITES=	# empty
DISTFILES=	# empty

MAINTAINER=	wennmach@NetBSD.org
COMMENT=	Scripts to find conflicting packages in pkgsrc

DEPENDS+=	postgresql>=7.0:../../databases/postgresql

WRKSRC=		${WRKDIR}
NO_CHECKSUM=	yes
NO_CONFIGURE=	yes

post-extract:
	@for FILE in Makefile dewey_cmp.c pkgconflict pkgdbextract            \
	; do                                                                  \
		${SED} -e 's|@PREFIX@|${PREFIX}|' ${FILESDIR}/$$FILE          \
		    >${WRKSRC}/$$FILE;                                        \
	done

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/dewey_cmp.so ${PREFIX}/lib
	${INSTALL_SCRIPT} ${WRKSRC}/pkgconflict ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/pkgdbextract ${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"