2001-12-25 20:57:19 +00:00
|
|
|
# Ports collection makefile for: sms
|
|
|
|
# Date created: 23 dec 2001
|
|
|
|
# Whom: Michal Pasternak <doc@lublin.t1.pl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sms
|
2003-09-25 08:03:56 +00:00
|
|
|
PORTVERSION= 1.9.2d
|
2003-08-19 09:12:40 +00:00
|
|
|
CATEGORIES= polish
|
2001-12-25 20:57:19 +00:00
|
|
|
MASTER_SITES= http://www.ceti.pl/~miki/komputery/download/sms/
|
|
|
|
|
2003-05-10 23:16:01 +00:00
|
|
|
MAINTAINER= dotz@irc.pl
|
2003-02-21 12:51:06 +00:00
|
|
|
COMMENT= Send SMS to cellular phones in Poland (Idea, ERA, Plus)
|
2001-12-25 20:57:19 +00:00
|
|
|
|
2003-01-03 08:26:35 +00:00
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
|
2001-12-25 20:57:19 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/sms
|
|
|
|
USE_GMAKE= yes
|
2003-08-04 12:57:34 +00:00
|
|
|
USE_REINPLACE= yes
|
2003-08-08 22:30:33 +00:00
|
|
|
REINPLACE_ARGS= -i ""
|
2001-12-25 20:57:19 +00:00
|
|
|
MAKE_ARGS= CXX="${CXX}"
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
MAKE_ARGS+= NOPORTDOCS=1
|
|
|
|
.endif
|
|
|
|
|
2003-08-04 12:57:34 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,/etc/smsrc,${PREFIX}/etc/smsrc,' \
|
|
|
|
${WRKSRC}/sms.h \
|
|
|
|
${WRKSRC}/README.smsrc
|
|
|
|
@${REINPLACE_CMD} -e 's,bash,sh,' \
|
|
|
|
${WRKSRC}/contrib/sms-conf
|
|
|
|
|
2001-12-25 20:57:19 +00:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${PREFIX}/bin/sms
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|