-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.server
37 lines (29 loc) · 1.04 KB
/
Makefile.server
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
PORTNAME= panicmails-server
PORTVERSION= 0.2
CATEGORIES= sysutils
RUN_DEPENDS= nginx:${PORTSDIR}/www/nginx \
pkesh:${PORTSDIR}/security/pkesh
USE_PHP= yes
DISTFILES=
NO_BUILD= yes
NO_INSTALL= yes
NOFETCHFILES= yes
PLIST_FILES= /usr/local/etc/panicmail.key \
"@(,,0600) /usr/local/etc/panicfetchmail.rc" \
/usr/local/etc/panicprocmail.rc \
/usr/local/www/panics/panics.php \
/usr/local/www/panics/dec.sh \
/usr/local/etc/rc.conf.panicmail
PLIST_DIRS= /usr/local/www/panics/ \
/var/panicmail
WRKSRC= ${PWD}
do-install:
${INSTALL} -m600 ${WRKSRC}/panicfetchmail.rc ${STAGEDIR}${PREFIX}/etc/
${INSTALL_DATA} ${WRKSRC}/panicprocmail.rc ${STAGEDIR}${PREFIX}/etc/
${INSTALL_DATA} ${WRKSRC}/panicmail.key ${STAGEDIR}${PREFIX}/etc/
${INSTALL_DATA} ${WRKSRC}/rc.conf.panicmail ${STAGEDIR}${PREFIX}/etc/
${MKDIR} -p ${STAGEDIR}${PREFIX}/www/panics
${INSTALL_DATA} ${WRKSRC}/panics.php ${STAGEDIR}${PREFIX}/www/panics/
${INSTALL_SCRIPT} ${WRKSRC}/dec.sh ${STAGEDIR}${PREFIX}/www/panics/
${MKDIR} -p ${STAGEDIR}/var/panicmail
.include <bsd.port.mk>