aboutsummaryrefslogtreecommitdiffstats
path: root/comms/qpage/Makefile
blob: 7b32936f50a71ef2b8bb99e49636b73db996ed01 (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
# New ports collection makefile for:    qpage
# Version required: 3.2
# Date created:     02 Aug 1997
# Whom:         joes@seaport.net
#
# $Id: Makefile,v 1.4 1998/08/20 17:45:23 jseger Exp $
#

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