freebsd-ports/comms/qpage/Makefile

42 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: qpage
# Date created: 02 Aug 1997
# Whom: joes@seaport.net
#
1999-08-25 07:28:01 +02:00
# $FreeBSD$
#
PORTNAME= qpage
PORTVERSION= 3.3
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.qpage.org/download/
EXTRACT_SUFX= .tar.Z
2003-02-21 10:04:33 +01:00
MAINTAINER= ports@FreeBSD.org
2003-02-21 12:08:38 +01:00
COMMENT= SNPP client/server for sending messages to an alphanumeric pager
GNU_CONFIGURE= yes
USE_REINPLACE= 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
.include <bsd.port.mk>