blob: 02413f7760fdc9da941060fcdcb54f864985e3e2 (
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
|
# $NetBSD: Makefile,v 1.2 2007/03/24 07:10:43 schmonz Exp $
#
DISTNAME= qmqtool-current
PKGNAME= ${DISTNAME:S/-current/-1.13/}
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://jeremy.kister.net/code/qmqtool/
COMMENT= View and safely modify qmail queue
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= # none
USE_TOOLS+= perl:run
NO_BUILD= yes
REPLACE_PERL= qmqtool
SPECIAL_PERMS+= ${PREFIX}/sbin/qmqtool ${ROOT_USER} ${ROOT_GROUP} 0700
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKSRC}/qmqtool
SUBST_SED.paths+= -e 's,@QMAILDIR@,${QMAILDIR:Q},g'
SUBST_SED.paths+= -e 's,@PS@,${PS},g'
SUBST_SED.paths+= -e 's,@GREP@,${GREP},g'
SUBST_SED.paths+= -e 's,@RCD_SCRIPTS_DIR@,${RCD_SCRIPTS_DIR},g'
SUBST_STAGE.paths= do-configure
INSTALLATION_DIRS= sbin share/doc/qmqtool share/examples/qmqtool
BUILD_DEFS+= QMAILDIR
do-install:
cd ${WRKSRC}; \
cp qmqtool ${PREFIX}/sbin; \
cp Artistic ChangeLog FAQ README ${PREFIX}/share/doc/qmqtool; \
cp -Rp contrib ${PREFIX}/share/examples/qmqtool
.include "../../mk/bsd.pkg.mk"
|