30 lines
639 B
Makefile
30 lines
639 B
Makefile
# $OpenBSD: Makefile,v 1.4 2000/08/21 02:33:44 brad Exp $
|
|
|
|
DISTNAME= libnet-1.0703
|
|
PKGNAME= p5-libnet-1.0703
|
|
CATEGORIES= net perl5
|
|
NEED_VERSION= 1.310
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Net
|
|
|
|
MAINTAINER= 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>
|