openbsd-ports/comms/qpage/Makefile
2010-10-18 16:52:44 +00:00

39 lines
924 B
Makefile

# $OpenBSD: Makefile,v 1.22 2010/10/18 16:57:48 espie Exp $
COMMENT= SNPP client/server (alphanum pager software)
DISTNAME= qpage-3.3
REVISION= 1
CATEGORIES= comms
# custom; see LICENSE
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= http://www.qpage.org/download/
EXTRACT_SUFX= .tar.Z
CONFIGURE_STYLE=gnu
USE_GROFF = Yes
NO_REGRESS= 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>