mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
65ab34a667
Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
39 lines
713 B
Makefile
39 lines
713 B
Makefile
# New ports collection makefile for: sma
|
|
# Version required: 0.9.13
|
|
# Date created: 8 May 1998
|
|
# Whom: Donald Burr <dburr@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= SMA
|
|
PKGNAME= sma-0.9.13
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www.scour.net/sma/
|
|
EXTRACT_SUFX= .pl
|
|
|
|
MAINTAINER= dburr@FreeBSD.org
|
|
|
|
RUN_DEPENDS= smbclient:${PORTSDIR}/net/samba
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
pre-configure:
|
|
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
|
|
-e '/\$debug = 3/s//\$debug = 0/' \
|
|
${DISTDIR}/SMA.pl > ${WRKDIR}/sma
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/sma ${PREFIX}/bin
|
|
|
|
post-install:
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
.include <bsd.port.mk>
|