- Resolve of using USE_PERL5_RUN and USE_PERL5_BUILD together

- Convert to new perl5 framework
- Trim Makefile header
- Use shebangfix for runable files
- Remove an indefinite article from COMMENT line

With hat:	perl@
This commit is contained in:
Andrej Zverev 2013-09-01 17:26:14 +00:00
parent 95620bc217
commit 356e7ffc2c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325889

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: netident
# Date created: 11 March 2008
# Whom: Zane C. Bowers
#
# Created by: Zane C. Bowers
# $FreeBSD$
#
PORTNAME= netident
PORTVERSION= 0.1.0
@ -15,13 +11,13 @@ EXTRACT_SUFX=
EXTRACT_ONLY=
MAINTAINER= vvelox@vvelox.net
COMMENT= A tool for helping identify what network a machine is on
COMMENT= Tool for helping identify what network a machine is on
RUN_DEPENDS= p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface \
p5-Net-CIDR-Lite>=0:${PORTSDIR}/net/p5-Net-CIDR-Lite
USE_PERL5_RUN= yes
USE_PERL5_BUILD=yes
USES= perl5 shebangfix
SHEBANG_FILES= *.pl
NO_WRKSUBDIR= yes
MAN1= ${PORTNAME}.1
@ -32,10 +28,6 @@ PLIST_DIRS= etc/netident
post-extract:
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
#nothing to configure
#do-configure:
# @${ECHO} -n
do-build:
@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center=${PORTNAME}" user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1