blob: a69c8e3af7c311c8d5e48cc249c7bae38f2f1883 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Zane C. Bowers
# $FreeBSD$
PORTNAME= netident
PORTVERSION= 0.1.0
CATEGORIES= sysutils deskutils
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:VVELOX
DISTNAME= ${PORTNAME}-${PORTVERSION}.pl
EXTRACT_SUFX=
EXTRACT_ONLY=
MAINTAINER= vvelox@vvelox.net
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
USES= perl5 shebangfix
SHEBANG_FILES= *.pl
NO_WRKSUBDIR= yes
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
PLIST_DIRS= etc/netident
NO_STAGE= yes
post-extract:
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
do-build:
@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center=${PORTNAME}" user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
@${CHMOD} +x ${PREFIX}/bin/${PORTNAME}
@${MKDIR} /var/db/netident/
@${MKDIR} ${PREFIX}/etc/netident/
.include <bsd.port.mk>
|