summaryrefslogtreecommitdiff
path: root/net/polsms/Makefile
blob: 5315740f45b0ba17bb1cf186b69ce003dc300f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.2 2001/04/03 07:05:43 zuntum Exp $
#

DISTNAME=	sms-1.8.8d
PKGNAME=	polsms-1.8.8d
CATEGORIES=	net
MASTER_SITES=	http://www.ceti.pl/~miki/komputery/download/sms/

MAINTAINER=	zuntum@netbsd.org
HOMEPAGE=	http://www.ceti.pl/~miki/komputery/sms.html
COMMENT=	useful command-line interface to sending SMS to Polish GSM networks

DEPENDS+=	gdbm-*:../../databases/gdbm

USE_GMAKE=	YES

WRKSRC=		${WRKDIR}/sms

MAKE_ENV+=	CC="${CXX}" C="${CC}"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sms ${PREFIX}/bin
	${LN} -sf ${PREFIX}/bin/sms ${PREFIX}/bin/smsaddr
	${INSTALL_DATA_DIR} ${PREFIX}/share/sms ${PREFIX}/share/sms/doc	\
		${PREFIX}/share/sms/contrib
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/sms/doc
	cd ${WRKSRC}/doc && ${INSTALL_DATA} old_solaris NetBSD solaris 	\
		plusmail FreeBSD qmail eranet podziel_sms eragsm.asp	\
		${PREFIX}/share/sms/doc
	cd ${WRKSRC}/contrib && ${INSTALL_DATA} mimecut procmailrc	\
		sms.cgi sms.html ${PREFIX}/share/sms/contrib

.include "../../mk/bsd.pkg.mk"