blob: 8101cd1b3e23423097897adf4bbb3ba9cc0017bc (
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
44
45
46
47
48
49
50
51
52
|
# $NetBSD: Makefile,v 1.21 2004/03/26 18:48:52 jlam Exp $
PKGNAME= courier-maildirmake-${BASE_VERS}
COMMENT= Courier Maildir utilities
USE_BUILDLINK3= yes
USE_LANGUAGES= c c++
USE_PKGINSTALL= yes
USE_PERL5= build
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
.include "../courier-auth/Makefile.common"
# WRKSRC_FILES is copied from ../courier-auth/Makefile.authdaemond.
WRKSRC_FILES= config.guess config.sub configure \
install-sh mkinstalldirs \
depcomp missing sysconftool
WRKSRC_FILES+= Makefile.in courier.spec.in courier.sysvinit.in \
dbobj.h.in dbobj.config.in courier/courier.c
# These are subdirectories of courier that build auxiliary libraries
# used by courier-maildirmake.
#
WRKSRC_SUBDIRS= bdbobj gdbmobj numlib liblock unicode rfc822
# These are the parts of courier that we will be building and installing.
WRKSRC_SUBDIRS+= maildir
EXTRACT_ELEMENTS= ${WRKSRC_FILES:S/^/${DISTNAME}\//}
EXTRACT_ELEMENTS+= ${WRKSRC_SUBDIRS:S/^/${DISTNAME}\//}
BUILD_DIRS= ${WRKSRC_SUBDIRS:S/^/${WRKSRC}\//}
INSTALL_DIRS= ${WRKSRC}/maildir
.if defined(_STRIPFLAG_INSTALL) && !empty(_STRIPFLAG_INSTALL:M-s)
INSTALL_TARGET= install-strip
.endif
CONF_FILES= ${EGDIR}/quotawarnmsg ${PKG_SYSCONFDIR}/quotawarnmsg
.include "../../mk/bdb.buildlink3.mk"
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/maildir/quotawarnmsg ${EGDIR}/quotawarnmsg
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/maildir/README.maildirquota.txt \
${DOCDIR}/README.maildirquota
${INSTALL_DATA} ${WRKSRC}/maildir/README.sharedfolders.txt \
${DOCDIR}/README.sharedfolders
.include "../../mk/bsd.pkg.mk"
|