summaryrefslogtreecommitdiff
path: root/parallel/dqs/Makefile
blob: 25f91dc5edc297fbac0c3fbc5a5a58750828a552 (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
32
33
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.11 2010/01/31 21:08:58 zafer Exp $
#

DISTNAME=	DQS-3.3.2
PKGNAME=	dqs-3.3.2
PKGREVISION=	2
CATEGORIES=	parallel
MASTER_SITES=	http://www.sfr-fresh.com/unix/misc/old/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://web.archive.org/web/20050305104643/http://www.scri.fsu.edu/~pasko/dqs.html
COMMENT=	Distributed queueing system

PKG_DESTDIR_SUPPORT=	destdir	# needs special permissions handling

WRKSRC=		${WRKDIR}/DQS3
DOCDIR=		${PREFIX}/share/doc/dqs
DOCS=		Image16.gif Image17.gif Image18.gif Image19.gif Image20.gif \
		Image21.gif Image22.gif Image23.gif InstMaint.html \
		Refernce.html UserGuide.html error_msg.htm

EGDIR=		${PREFIX}/share/examples/dqs

# PKG_SYSCONFSUBDIR?=dqs
# CONF_FILES+=	${EGDIR}/conf_file ${PKG_SYSCONFDIR}/conf_file
# CONF_FILES+=	${EGDIR}/key_file ${PKG_SYSCONFDIR}/key_file
# CONF_FILES+=	${EGDIR}/resolve_file ${PKG_SYSCONFDIR}/resolve_file

post-patch:
	${ECHO} '#undef DEFAULT_HOST' >> ${WRKSRC}/SRC/dqs.h

pre-configure:
	${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/UTIL/config.guess
	${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/UTIL/config.sub

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
.for doc in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/DOC/user_guide/${doc} ${DESTDIR}${DOCDIR}
.endfor

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