32 lines
700 B
Makefile
32 lines
700 B
Makefile
# $OpenBSD: Makefile,v 1.7 2001/05/06 05:00:19 lebel Exp $
|
|
|
|
COMMENT= "modules for net-based applications"
|
|
|
|
DISTNAME= libnet-1.0703
|
|
PKGNAME= p5-libnet-1.0703
|
|
CATEGORIES= net perl5
|
|
NEED_VERSION= 1.402
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Net
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
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>
|