2008-10-28 11:21:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2008/10/28 15:21:49 naddy Exp $
|
2007-07-18 07:03:34 -04:00
|
|
|
|
|
|
|
COMMENT= gateway to send and receive SMS through GSM mobile phones
|
|
|
|
|
|
|
|
V= 3.0.9
|
|
|
|
DISTNAME= smstools3-${V}
|
2008-10-28 11:21:48 -04:00
|
|
|
PKGNAME= smstools-${V}p2
|
2007-07-18 07:03:34 -04:00
|
|
|
|
|
|
|
CATEGORIES= comms
|
|
|
|
|
|
|
|
HOMEPAGE= http://smstools3.kekekasvi.com/
|
|
|
|
|
2007-09-04 06:33:19 -04:00
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
2007-07-18 07:03:34 -04:00
|
|
|
|
|
|
|
#GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WANTLIB= c
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/packages/
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/smstools3
|
|
|
|
WRKSRC= ${WRKDIST}/src
|
|
|
|
|
2008-01-30 09:34:01 -05:00
|
|
|
# gcc 3.3.5 internal compiler error
|
|
|
|
.if ${MACHINE_ARCH} == "mips64"
|
|
|
|
EXTRA_CFLAGS= -O0
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
|
|
|
|
|
2007-07-18 07:03:34 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/smsd ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIST}/scripts/{sendsms,sms2html} \
|
|
|
|
${WRKDIST}/scripts/{sms2unicode,unicode2sms} \
|
|
|
|
${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/smstools
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/examples/smsd.conf.full \
|
|
|
|
${PREFIX}/share/examples/smstools
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/smsd.conf.openbsd \
|
|
|
|
${PREFIX}/share/examples/smstools
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/smstools
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/smstools/slideshow
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/*html ${PREFIX}/share/doc/smstools
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/slideshow/* \
|
|
|
|
${PREFIX}/share/doc/smstools/slideshow
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|