mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
2018b39750
PR: 56645 Submitted by: Michal Pasternak <doc@lublin.t1.pl>
38 lines
802 B
Makefile
38 lines
802 B
Makefile
# Ports collection makefile for: sms
|
|
# Date created: 23 dec 2001
|
|
# Whom: Michal Pasternak <doc@lublin.t1.pl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sms
|
|
PORTVERSION= 1.9.2d
|
|
CATEGORIES= polish
|
|
MASTER_SITES= http://www.ceti.pl/~miki/komputery/download/sms/
|
|
|
|
MAINTAINER= dotz@irc.pl
|
|
COMMENT= Send SMS to cellular phones in Poland (Idea, ERA, Plus)
|
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
|
|
|
|
WRKSRC= ${WRKDIR}/sms
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
REINPLACE_ARGS= -i ""
|
|
MAKE_ARGS= CXX="${CXX}"
|
|
.if defined(NOPORTDOCS)
|
|
MAKE_ARGS+= NOPORTDOCS=1
|
|
.endif
|
|
|
|
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
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${PREFIX}/bin/sms
|
|
|
|
.include <bsd.port.mk>
|