summaryrefslogtreecommitdiffstats
path: root/comms/qpage/Makefile
blob: 4573a428edaae7690e37742029714ef5aad65d68 (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
# New ports collection makefile for:	qpage
# Date created:		02 Aug 1997
# Whom:			joes@seaport.net
#
# $FreeBSD$
#

PORTNAME=	qpage
PORTVERSION=	3.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-install:
	@if [ ! -f ${PREFIX}/etc/rc.d/qpage.sh ]; then \
		${ECHO} "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} "Install ${PREFIX}/etc/qpage-example.cf file."; \
		${INSTALL_SCRIPT} -m 660 ${WRKDIR}/${PORTNAME}-${PORTVERSION}/example.cf \
			${PREFIX}/etc/qpage-example.cf; \
	fi

.include <bsd.port.mk>
OpenPOWER on IntegriCloud