openbsd-ports/comms/qpage/Makefile
2013-03-11 01:30:26 +00:00

36 lines
843 B
Makefile

# $OpenBSD: Makefile,v 1.23 2013/03/11 01:30:27 espie Exp $
COMMENT= SNPP client/server (alphanum pager software)
DISTNAME= qpage-3.3
REVISION= 1
CATEGORIES= comms
# custom; see LICENSE
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= http://www.qpage.org/download/
EXTRACT_SUFX= .tar.Z
CONFIGURE_STYLE=gnu
USE_GROFF = Yes
NO_TEST= Yes
pre-build:
@perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g' ${WRKSRC}/qpage.man
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qpage ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/qpage.man \
${PREFIX}/man/man1/qpage.1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qpage
${INSTALL_DATA} ${WRKSRC}/example.cf \
${PREFIX}/share/examples/qpage/qpage.cf
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/qpage
${INSTALL_DATA} ${WRKSRC}/{[C-LRT]*,*txt} \
${PREFIX}/share/doc/qpage
.include <bsd.port.mk>