aboutsummaryrefslogtreecommitdiffstats
path: root/comms/qpage/Makefile
blob: 518c0e727abbc6f6866433486aa23b9617d2ac7d (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
#
# $FreeBSD$
#

DISTNAME=   qpage-3.2
CATEGORIES= comms
#MASTER_SITES=  http://www.qpage.org/download/
MASTER_SITES=   http://people.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>