1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/comms/sms_client/Makefile
John Marino 652967646e Revive comms/sms_client with stage support and a new maintainer
This port was removed August 2011 for lack of a public distfile.  It's
been cleaned up and the distfile has a new home.  Pass maintainership
to submitter.

PR:		188971
Submitted by:	Chris Hutchinson
2014-06-25 21:52:43 +00:00

48 lines
1.5 KiB
Makefile

# Created by: George Reid <greid@ukug.uk.freebsd.org>
# $FreeBSD$
PORTNAME= sms_client
PORTVERSION= 3.0.2
PORTREVISION= 3
CATEGORIES= comms
MASTER_SITES= http://bsdforge.com/projects/source/comms/sms_client/
MAINTAINER= portmaster@bsdforge.com
COMMENT= Simple UNIX SMS client to send messages to phones or pagers
LICENSE= BSD3CLAUSE
USES= tar:xz
HAS_CONFIGURE= yes
SPOOL= ${STAGEDIR}${PREFIX}/var/spool/sms
MAKE_JOBS_UNSAFE= yes
post-configure:
@${SED} -e 's@gcc@${CC}@g' -e 's@-Wall@${CFLAGS} -Wall@g' \
${FILESDIR}/Makefile.config > ${WRKSRC}/Makefile.config
post-patch:
@${MV} ${WRKSRC}/sms/services/vodafone_autralia \
${WRKSRC}/sms/services/vodafone_australia
@${RM} ${WRKSRC}/sms/services/att_web.orig
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/sms_client \
${WRKSRC}/bin/sms_address ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}; ${COPYTREE_SHARE} sms/scripts ${STAGEDIR}${PREFIX}/etc
cd ${WRKSRC}; ${COPYTREE_SHARE} sms/services ${STAGEDIR}${PREFIX}/etc
cd ${WRKSRC}/sms && ${INSTALL_DATA} sms_addressbook \
sms_config sms_daemons sms_modem sms_services \
${STAGEDIR}${PREFIX}/etc/sms
cd ${STAGEDIR}${PREFIX}/etc/sms/services ; ${FIND} -s * -type f \
-exec mkdir -p ${SPOOL}/errors/{} \; \
-exec mkdir -p ${SPOOL}/services/{} \; \
-exec touch ${SPOOL}/errors/{}/.keep \; \
-exec touch ${SPOOL}/services/{}/.keep \;
${MKDIR} -p ${SPOOL}/named_pipes ${SPOOL}/locks ${SPOOL}/incoming
${TOUCH} ${SPOOL}/named_pipes/.keep ${SPOOL}/locks/.keep \
${SPOOL}/incoming/.keep
.include <bsd.port.mk>