openbsd-ports/net/pchar/Makefile
angelos ed3ec225ec Update to version 1.3.2; the patch is needed to fix a function
prototype difference. It should be fixed in the next release.
2001-04-13 16:56:59 +00:00

35 lines
977 B
Makefile

# Ports collection makefile for: pchar
# Version required: 1.2
# Date created: Thu Dec 16, 1999
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.11 2001/04/13 16:56:59 angelos Exp $
# $FreeBSD: ports/net/pchar/Makefile,v 1.1.1.1 1999/11/04 08:33:26 obrien Exp $
#
DISTNAME= pchar-1.3.2
CATEGORIES= net
NEED_VERSION= 1.305
MASTER_SITES= http://www.employees.org/~bmah/Software/pchar/
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-ipv6
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin
@/usr/bin/perl -pi.orig -e 's/pchar 1/pchar 8/g' ${WRKSRC}/pchar.8
${INSTALL_MAN} ${WRKSRC}/pchar.8 ${PREFIX}/man/man8/pchar.8
.if !defined(NOPORTDOCS)
@mkdir -p ${PREFIX}/share/doc/pchar
cd ${WRKSRC} ; ${INSTALL_DATA} README FAQ ${PREFIX}/share/doc/pchar
.endif
.include <bsd.port.mk>