summaryrefslogtreecommitdiff
path: root/comms/qpage/Makefile
blob: 415ae12f23b4fd25a6f0c1e9880a847cc8827d01 (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
# New ports collection makefile for:	qpage
# Version required:	3.2
# Date created:		02 Aug 1997
# Whom:			joes@seaport.net
#
# $Id: Makefile,v 1.6 1998/08/31 05:30:20 asami Exp $
#

DISTNAME=	qpage-3.2
CATEGORIES=	comms
#MASTER_SITES=	http://www.qpage.org/download/
MASTER_SITES=	http://www.freebsd.org/~fenner/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	joes@seaport.net

MAN1=		qpage.1

post-install:
	@if [ ! -f ${PREFIX}/etc/rc.d/qpage.sh ]; then \
		${ECHO} "Install ${PREFIX}/etc/rc.d/qpage.sh startup file."; \
		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/qpage.sh; \
		${ECHO} "[ -x ${PREFIX}/bin/qpage ] && ${PREFIX}/bin/qpage -q10 && echo -n ' qpage'" >> ${PREFIX}/etc/rc.d/qpage.sh; \
		chmod 751 ${PREFIX}/etc/rc.d/qpage.sh; \
	fi

.include <bsd.port.mk>