openbsd-ports/net/p5-libnet/Makefile
espie 15cf1874e9 Import the basic perl5 libnet.
This port needs configuration, but we counter IS_INTERACTIVE by bundling
the Configure script, since configuration can be altered after
installation.

We also let the user decide when he wants to alter that configuration, 
since other modules may depend on it.
2000-06-02 13:45:22 +00:00

29 lines
661 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2000/06/02 13:45:22 espie Exp $
DISTNAME= libnet-1.0703
PKGNAME= p5-libnet-1.0703
CATEGORIES= net perl5
NEED_VERSION= 1.290
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
MAINTAINER= espie@openbsd.org
# Artistic licence
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
pre-configure:
@cd ${WRKSRC} && perl ./Configure -d
post-build:
@cd ${WRKSRC} && \
sed -e 1s,/usr/local/bin/perl,/usr/bin/perl, <Configure >configure-libnet
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/configure-libnet ${PREFIX}/bin
.include <bsd.port.mk>