aboutsummaryrefslogtreecommitdiffstats
path: root/net/sendsnpp/Makefile
blob: 655575fda7dadf25ddaa23299440c0fb906b54f5 (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
# New ports collection makefile for:    net/sendsnpp
# Date created:             2005-12-17
# Whom:         Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
#
# $FreeBSD$
# $Tecnik: ports/net/sendsnpp/Makefile,v 1.4 2006/06/11 20:04:50 itetcu Exp $

PORTNAME=   sendSNPP
DISTVERSION=    v1.03
PORTREVISION=   1
CATEGORIES= net perl5
MASTER_SITES=   http://caspian.dotconf.net/menu/Software/SendSNPP/ \
        http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/ \
        http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/

MAINTAINER= itetcu@FreeBSD.org
COMMENT=    Tool for sending messages through a RFC1861 compliant SNPP server

NO_BUILD=   yes
USE_PERL5_RUN=  yes

PLIST_FILES=    bin/sendSNPP.pl

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/${PORTNAME}.pl

do-install:
    cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME}.pl ${PREFIX}/bin

.include <bsd.port.mk>