- 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 # Created by: Zane C. Bowers
# Date created: 11 March 2008
# Whom: Zane C. Bowers
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= netident PORTNAME= netident
PORTVERSION= 0.1.0 PORTVERSION= 0.1.0
@ -15,13 +11,13 @@ EXTRACT_SUFX=
EXTRACT_ONLY= EXTRACT_ONLY=
MAINTAINER= vvelox@vvelox.net 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 \ RUN_DEPENDS= p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface \
p5-Net-CIDR-Lite>=0:${PORTSDIR}/net/p5-Net-CIDR-Lite p5-Net-CIDR-Lite>=0:${PORTSDIR}/net/p5-Net-CIDR-Lite
USE_PERL5_RUN= yes USES= perl5 shebangfix
USE_PERL5_BUILD=yes SHEBANG_FILES= *.pl
NO_WRKSUBDIR= yes NO_WRKSUBDIR= yes
MAN1= ${PORTNAME}.1 MAN1= ${PORTNAME}.1
@ -32,10 +28,6 @@ PLIST_DIRS= etc/netident
post-extract: post-extract:
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC} @${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
#nothing to configure
#do-configure:
# @${ECHO} -n
do-build: do-build:
@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center=${PORTNAME}" user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1 @${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center=${PORTNAME}" user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1