blob: bdee17fab9bccf0cdc06f57d411e07005110bb2f (
plain) (
blame)
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
|
# New ports collection makefile for: qpage
# Date created: 02 Aug 1997
# Whom: joes@seaport.net
#
# $FreeBSD$
#
PORTNAME= qpage
PORTVERSION= 3.3
PORTREVISION= 3
CATEGORIES= comms
MASTER_SITES= http://www.qpage.org/download/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= SNPP client/server for sending messages to an alphanumeric pager
GNU_CONFIGURE= yes
MAN1= qpage.1
post-patch:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/qpage.man \
${WRKSRC}/config.input \
${WRKSRC}/config.h.in
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/qpage.sh ]; then \
${ECHO_MSG} "Install ${PREFIX}/etc/rc.d/qpage.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/qpage.sh \
${PREFIX}/etc/rc.d/qpage.sh; \
fi
@if [ ! -f ${PREFIX}/etc/qpage-example.cf ]; then \
${ECHO_MSG} "Install ${PREFIX}/etc/qpage-example.cf file."; \
${INSTALL_SCRIPT} -m 640 ${WRKDIR}/${PORTNAME}-${PORTVERSION}/example.cf \
${PREFIX}/etc/qpage-example.cf; \
fi
${MKDIR} /var/spool/${PORTNAME}
${CHOWN} uucp:dialer /var/spool/${PORTNAME}
${CHMOD} 0775 /var/spool/${PORTNAME}
.include <bsd.port.mk>
|