blob: 5fb94abf12311884f76aac92710d12d9fae2a5a4 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# New ports collection makefile for: ispman
# Date created: Wed Sep 26 20:23:38 MSD 2007
# Whom: Denis Shaposhnikov <dsh@vlink.ru>
#
# $FreeBSD$
#
PORTNAME= ispman
PORTVERSION= 1.3r2
PORTREVISION= 2
CATEGORIES= sysutils perl5
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.3
DISTNAME= ${PORTNAME}-1.3rc2
MAINTAINER= dsh@vlink.ru
COMMENT= ISP management software
RUN_DEPENDS= p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced\
p5-Convert-ASN1>=0:${PORTSDIR}/converters/p5-Convert-ASN1 \
p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-IO-stringy>=0:${PORTSDIR}/devel/p5-IO-stringy \
p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX \
p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent \
p5-Log-Agent>=0:${PORTSDIR}/devel/p5-Log-Agent \
p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \
p5-IMAP-Admin>=0:${PORTSDIR}/mail/p5-IMAP-Admin \
p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap \
p5-DNS-ZoneParse>=0:${PORTSDIR}/dns/p5-DNS-ZoneParse \
p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
p5-Unicode-String>=0:${PORTSDIR}/converters/p5-Unicode-String \
p5-Text-Template>=0:${PORTSDIR}/textproc/p5-Text-Template \
p5-Mail-RFC822-Address>=0:${PORTSDIR}/mail/p5-Mail-RFC822-Address \
p5-Locale-Maketext-Lexicon>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
p5-I18N-LangTags>=0:${PORTSDIR}/misc/p5-I18N-LangTags \
p5-SOAP-Lite>=0:${PORTSDIR}/net/p5-SOAP-Lite
USE_GMAKE= yes
USES= perl5
ALL_TARGET= ispman
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}/${PORTNAME}
MAKE_ENV+= DATA_MODES="-c ${_SHROWNGRP} -m ${SHAREMODE}" \
SCRIPT_MODES="-c ${_BINOWNGRP} -m ${BINMODE}"
WRKSRC= ${WRKDIR}/${PORTNAME}-1.3
post-patch:
${GREP} -FlR '/usr/bin/perl' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -i '' -e 's!/usr/bin/perl!${PERL}!'
${FIND} -d ${WRKSRC}/docs -name CVS -exec ${RM} -rf {} +
post-install:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
|