summaryrefslogtreecommitdiffstats
path: root/net/sendsms/Makefile
blob: 7dd5d7ca164b713ba0f00903805f511f4b2b4d1f (plain)
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
# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
# $FreeBSD$

PORTNAME=	sendsms
PORTVERSION=	0.2.4
CATEGORIES=	net perl5
MASTER_SITES=	http://caspian.dotconf.net/menu/Software/SendSMS/ \
		http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/
DISTNAME=	sendSMS.pl
EXTRACT_SUFX=	.gz

MAINTAINER=	itetcu@FreeBSD.org
COMMENT=	Simple perl command-line utility to send SMS via from on provider site

EXTRACT_CMD=	${GZCAT}
EXTRACT_BEFORE_ARGS=	
EXTRACT_AFTER_ARGS=	> ${WRKSRC}/${PORTNAME}

PLIST_FILES=	bin/sendsms

CONFLICTS=	gnokii-[0-9]* smstools-[0-9]*

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
USE_PERL5=	yes

post-patch:
	@${REINPLACE_CMD} -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/${PORTNAME}

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud