1998-05-10 18:21:39 -04:00
|
|
|
# New ports collection makefile for: sma
|
1998-07-06 10:13:55 -04:00
|
|
|
# Version required: 0.9.13
|
1998-05-10 18:21:39 -04:00
|
|
|
# Date created: 8 May 1998
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Donald Burr <dburr@FreeBSD.org>
|
1998-05-10 18:21:39 -04:00
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1998-05-10 18:21:39 -04:00
|
|
|
#
|
|
|
|
|
1998-07-06 10:13:55 -04:00
|
|
|
DISTNAME= SMA
|
|
|
|
PKGNAME= sma-0.9.13
|
1998-05-10 18:21:39 -04:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.scour.net/sma/
|
|
|
|
EXTRACT_SUFX= .pl
|
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= dburr@FreeBSD.org
|
1998-05-10 18:21:39 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS= smbclient:${PORTSDIR}/net/samba
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
|
|
|
|
pre-configure:
|
1998-09-15 17:31:59 -04:00
|
|
|
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
|
1998-07-06 10:13:55 -04:00
|
|
|
-e '/\$debug = 3/s//\$debug = 0/' \
|
|
|
|
${DISTDIR}/SMA.pl > ${WRKDIR}/sma
|
1998-05-10 18:21:39 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/sma ${PREFIX}/bin
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|