2012-10-31 18:11:58 +00:00
|
|
|
# Created by: Gerhard Gonter <g.gonter@ieee.org>
|
2003-05-01 15:37:58 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mail2sms
|
|
|
|
PORTVERSION= 1.3.5
|
|
|
|
CATEGORIES= mail
|
2013-06-20 22:57:15 +00:00
|
|
|
MASTER_SITES= http://daniel.haxx.se/projects/mail2sms/ \
|
|
|
|
http://bitrote.org/distfiles/
|
2003-05-01 15:37:58 +00:00
|
|
|
|
2013-06-20 22:57:15 +00:00
|
|
|
MAINTAINER= jharris@widomaker.com
|
2003-05-01 15:37:58 +00:00
|
|
|
COMMENT= Mail to SMS converter
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2012-10-31 18:11:58 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2003-05-01 15:37:58 +00:00
|
|
|
MAN1= mail2sms.1
|
|
|
|
MAN5= mail2sms.5
|
|
|
|
|
2012-10-31 18:11:58 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
PORTDOCS= README REGEX example.conf
|
2013-06-20 22:57:15 +00:00
|
|
|
|
2013-09-20 19:59:12 +00:00
|
|
|
NO_STAGE= yes
|
2013-06-20 22:57:15 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2012-10-31 18:11:58 +00:00
|
|
|
|
2003-05-01 15:37:58 +00:00
|
|
|
post-patch:
|
|
|
|
${CP} ${WRKSRC}/mail2sms.4 ${WRKSRC}/mail2sms.5
|
2003-05-19 14:11:48 +00:00
|
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mail2sms.5
|
|
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c
|
2003-05-01 15:37:58 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mail2sms ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN5} ${PREFIX}/man/man5/
|
2012-10-31 18:11:58 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-06-20 22:57:15 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
2003-05-01 15:37:58 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|