openbsd-ports/net/uucp/Makefile

36 lines
897 B
Makefile
Raw Normal View History

2003-12-13 20:39:18 -05:00
# $OpenBSD: Makefile,v 1.11 2003/12/14 01:39:18 naddy Exp $
COMMENT= "UUCP suite"
2003-12-13 20:39:18 -05:00
DISTNAME= uucp-1.07
2001-07-13 16:16:15 -04:00
CATEGORIES= net mail
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2003-12-13 20:39:18 -05:00
MASTER_SITES= ${MASTER_SITE_GNU:=uucp/}
2003-12-13 20:39:18 -05:00
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --sbindir=${PREFIX}/libexec/uucp \
--with-newconfigdir=${SYSCONFDIR}/uucp \
--with-oldconfigdir=${SYSCONFDIR}/uucp
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
2003-12-13 20:39:18 -05:00
post-extract:
@rm ${WRKSRC}/uucp.info*
2003-12-13 20:39:18 -05:00
SAMPLES= call config dial dialcode passwd port sys1 sys2
post-install:
@mv ${PREFIX}/libexec/uucp/uusched ${PREFIX}/bin
@chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/cu
@chmod ${BINMODE} ${PREFIX}/bin/cu
2003-12-13 20:39:18 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/uucp
.for file in ${SAMPLES}
${INSTALL_DATA} ${WRKSRC}/sample/${file} ${PREFIX}/share/examples/uucp
.endfor
.include <bsd.port.mk>