# New ports collection makefile for: smstools # Date created: 06-11-2004 # Whom: Benny Kjaergaard # # $FreeBSD$ # PORTNAME= smstools PORTVERSION= 2.2.20 CATEGORIES= comms MASTER_SITES= http://www.meinemullemaus.de/smstools/packages/ MAINTAINER= ports@FreeBSD.org COMMENT= Tools to handle Short Message Service LIB_DEPENDS= mm:${PORTSDIR}/devel/mm WRKSRC= ${WRKDIR}/${PORTNAME} USE_GMAKE= yes USE_RC_SUBR= smsd.sh SPOOLDIR?= /var/spool/sms PLIST_SUB+= PREFIX="${PREFIX}" \ SPOOLDIR="${SPOOLDIR}" DOCS= alarmhandler.html blacklist.html book.html butterfly.gif \ compiling.html configure.html configure2.html costs.html \ email.gif eventhandler.html faq.html fileformat.html \ gpl.html gpl_de.html hardwarecomp.html index.html \ license.html links.html paypalbutton.gif raster.gif \ references.html releasenotes.html run.html softwarecomp.html \ statformat.html statusmonitor.html support.gif support.html \ udh.html windows.html EXAMPLES= .procmailrc .qmailrc operator_logo1.sms operator_logo2.sms \ received_report.sms received_sms.sms send_sms.sms \ send_sms_unicode.sms smsd.conf.easy smsd.conf.full SCRIPTS= email2sms hex2bin hex2dec mysmsd sendsms sms sms2html \ sms2unicode sms2xml smsevent smsresend sql_demo unicode2sms post-patch: @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/install.sh post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/ .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR}/ .endif @${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/scripts/,} ${PREFIX}/bin #post-install: @${INSTALL_DATA} ${WRKSRC}/examples/smsd.conf.easy ${PREFIX}/etc/smsd.conf .include